diff options
Diffstat (limited to 'other/travis')
-rw-r--r-- | other/travis/env-freebsd.sh | 3 | ||||
-rw-r--r-- | other/travis/env.sh | 1 | ||||
-rwxr-xr-x | other/travis/toxcore-script | 4 |
3 files changed, 1 insertions, 7 deletions
diff --git a/other/travis/env-freebsd.sh b/other/travis/env-freebsd.sh index f9aa0cbf..882e9da5 100644 --- a/other/travis/env-freebsd.sh +++ b/other/travis/env-freebsd.sh | |||
@@ -1,9 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | CMAKE=cmake | 3 | CMAKE=cmake |
4 | # Asan is disabled because it's currently broken in FreeBSD 11. | ||
5 | # We should try enabling it in the next FreeBSD release and see if it works. | ||
6 | CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DASAN=OFF" | ||
7 | NPROC=`nproc` | 4 | NPROC=`nproc` |
8 | CURDIR=/root | 5 | CURDIR=/root |
9 | RUN_TESTS=true | 6 | RUN_TESTS=true |
diff --git a/other/travis/env.sh b/other/travis/env.sh index 7d90d395..2d3e646c 100644 --- a/other/travis/env.sh +++ b/other/travis/env.sh | |||
@@ -8,7 +8,6 @@ export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig | |||
8 | export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle | 8 | export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle |
9 | export CFLAGS="-O3 -DTRAVIS_ENV=1" | 9 | export CFLAGS="-O3 -DTRAVIS_ENV=1" |
10 | export CXXFLAGS="-O3 -DTRAVIS_ENV=1" | 10 | export CXXFLAGS="-O3 -DTRAVIS_ENV=1" |
11 | export CMAKE_EXTRA_FLAGS="-DERROR_ON_WARNING=ON" | ||
12 | export MAKE=make | 11 | export MAKE=make |
13 | 12 | ||
14 | BUILD_DIR=_build | 13 | BUILD_DIR=_build |
diff --git a/other/travis/toxcore-script b/other/travis/toxcore-script index f82fd978..ae2af416 100755 --- a/other/travis/toxcore-script +++ b/other/travis/toxcore-script | |||
@@ -28,14 +28,12 @@ RUN $CMAKE \ | |||
28 | -B$BUILD_DIR \ | 28 | -B$BUILD_DIR \ |
29 | -H. \ | 29 | -H. \ |
30 | -DCMAKE_INSTALL_PREFIX:PATH=$CURDIR/_install \ | 30 | -DCMAKE_INSTALL_PREFIX:PATH=$CURDIR/_install \ |
31 | -DASAN=ON \ | ||
32 | -DDEBUG=ON \ | 31 | -DDEBUG=ON \ |
33 | -DMUST_BUILD_TOXAV=ON \ | 32 | -DMUST_BUILD_TOXAV=ON \ |
34 | -DSTRICT_ABI=ON \ | 33 | -DSTRICT_ABI=ON \ |
35 | -DTEST_TIMEOUT_SECONDS=120 \ | 34 | -DTEST_TIMEOUT_SECONDS=120 \ |
36 | -DTRACE=ON \ | 35 | -DTRACE=ON \ |
37 | -DUSE_IPV6=$USE_IPV6 \ | 36 | -DUSE_IPV6=$USE_IPV6 |
38 | $CMAKE_EXTRA_FLAGS | ||
39 | 37 | ||
40 | export CTEST_OUTPUT_ON_FAILURE=1 | 38 | export CTEST_OUTPUT_ON_FAILURE=1 |
41 | 39 | ||