travis: fix tox cmake build

This commit is contained in:
Håvard Pettersson 2018-04-30 18:08:40 +02:00
parent 78a4bc0d5d
commit b1765af433

View File

@ -26,9 +26,7 @@ install:
- mkdir c-toxcore && pushd c-toxcore
&& curl -fSsL "https://github.com/TokTok/c-toxcore/archive/v0.2.1.tar.gz"
| tar -xz --strip-components 1
&& cmake -DCMAKE_INSTALL_PREFIX="$DEPENDENCY_DIR" \
-DBUILD_AV_TEST=off \
-DBUILD_NTOX=off
&& cmake -DCMAKE_INSTALL_PREFIX="$DEPENDENCY_DIR" -DBUILD_AV_TEST=off
&& make install
&& popd