summaryrefslogtreecommitdiff
path: root/other/travis
diff options
context:
space:
mode:
Diffstat (limited to 'other/travis')
-rw-r--r--other/travis/env-freebsd.sh3
-rw-r--r--other/travis/env.sh1
-rwxr-xr-xother/travis/toxcore-script4
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
3CMAKE=cmake 3CMAKE=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.
6CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DASAN=OFF"
7NPROC=`nproc` 4NPROC=`nproc`
8CURDIR=/root 5CURDIR=/root
9RUN_TESTS=true 6RUN_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
8export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle 8export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle
9export CFLAGS="-O3 -DTRAVIS_ENV=1" 9export CFLAGS="-O3 -DTRAVIS_ENV=1"
10export CXXFLAGS="-O3 -DTRAVIS_ENV=1" 10export CXXFLAGS="-O3 -DTRAVIS_ENV=1"
11export CMAKE_EXTRA_FLAGS="-DERROR_ON_WARNING=ON"
12export MAKE=make 11export MAKE=make
13 12
14BUILD_DIR=_build 13BUILD_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
40export CTEST_OUTPUT_ON_FAILURE=1 38export CTEST_OUTPUT_ON_FAILURE=1
41 39