mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
835b9fbdc9
Also reduce number of people in conference to 5, because on Circle CI the test times out trying to connect more than 6 or 7 people. The persistent conferences PR will improve this so we can set it much higher then.
19 lines
484 B
Bash
19 lines
484 B
Bash
#!/bin/sh
|
|
|
|
# Globally used environment variables.
|
|
export CACHE_DIR=$HOME/cache
|
|
export OPAMROOT=$CACHE_DIR/.opam
|
|
export LD_LIBRARY_PATH=$CACHE_DIR/lib
|
|
export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig
|
|
export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle
|
|
export CFLAGS="-O3 -DTRAVIS_ENV=1"
|
|
export CXXFLAGS="-O3 -DTRAVIS_ENV=1"
|
|
export CMAKE_EXTRA_FLAGS="-DERROR_ON_WARNING=ON"
|
|
export MAKE=make
|
|
|
|
BUILD_DIR=_build
|
|
MAX_TEST_RETRIES=10
|
|
|
|
# Workaround for broken Travis image.
|
|
export TERM=xterm
|