Add tests when running travis-ci
This commit is contained in:
parent
f1ba09f690
commit
bd291ae5a8
|
@ -1,11 +1,11 @@
|
||||||
language: c
|
language: c
|
||||||
before_install:
|
before_install:
|
||||||
- git clone --depth=1 --branch=master git://github.com/uclouvain/openjpeg-data.git uclouvain/openjpeg-data
|
- git clone --depth=1 --branch=master git://github.com/uclouvain/openjpeg-data.git data
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -G "Unix Makefiles" -DBUILD_CODEC=ON -DBUILD_THIRDPARTY=ON -DBUILD_TESTING=ON -DOPJ_DATA_ROOT=../../openjpeg-data ..
|
- cmake -G "Unix Makefiles" -DBUILD_CODEC=ON -DBUILD_THIRDPARTY=ON -DBUILD_TESTING=ON -DOPJ_DATA_ROOT=../data ..
|
||||||
- make
|
- make
|
||||||
- make test ARGS=-j2
|
- make test ARGS=-j2
|
||||||
|
|
Loading…
Reference in New Issue