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 if [ -n "$VALGRIND_TEST" ]; then
cd src 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 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 elif [ -n "$EXPECTED_STATUS" ]; then
cd src cd src
make -e make
set +e set +e
./kvazaar $PARAMS ./kvazaar $PARAMS
EXIT_STATUS=$? EXIT_STATUS=$?
@ -15,6 +15,6 @@ elif [ -n "$EXPECTED_STATUS" ]; then
[ "$EXIT_STATUS" = "$EXPECTED_STATUS" ] [ "$EXIT_STATUS" = "$EXPECTED_STATUS" ]
else else
cd src cd src
make -e make
make -e tests make tests
fi fi

View file

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