Build with jobs=2 on Travis.

This commit is contained in:
Ari Koivula 2015-07-28 12:00:42 +03:00
parent f8154f8382
commit 81f5085136
2 changed files with 5 additions and 4 deletions

View file

@ -3,11 +3,11 @@ set -ev
if [ -n "$VALGRIND_TEST" ]; then
cd src
make -e debug
make debug
valgrind --leak-check=full --error-exitcode=1 ./kvazaar_debug -i ../mandelbrot_${TEST_DIM}.yuv --input-res=${TEST_DIM} -o /dev/null $VALGRIND_TEST
elif [ -n "$EXPECTED_STATUS" ]; then
cd src
make -e
make
set +e
./kvazaar $PARAMS
EXIT_STATUS=$?
@ -15,6 +15,6 @@ elif [ -n "$EXPECTED_STATUS" ]; then
[ "$EXIT_STATUS" = "$EXPECTED_STATUS" ]
else
cd src
make -e
make -e tests
make
make tests
fi

View file

@ -6,6 +6,7 @@ env:
- KVZ_DISABLE_AVX2=1
- TEST_DIM=264x130
- TEST_FRAMES=10
- MAKEFLAGS="--jobs=2 --environment-overrides"
sudo: false