uvg266/.travis-script.sh
Ari Koivula 00ec1f16c5 Move Travis-ci stuff to scripts and add more tests.
- Make valgrind tests run in parallel.
- Install only the tools necessary to run each test.
- Make individual tests smaller and faster, but run more tests
  with a more diverse set of parameters.
2015-05-05 17:17:32 +03:00

13 lines
260 B
Bash
Executable file

#!/bin/sh
set -ev
if [ -z "$VALGRIND_TEST" ]; then
cd src
make
make tests
else
cd src
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
fi