Add tests when running travis-ci

This commit is contained in:
mayeut 2015-09-07 23:16:48 +02:00
parent 4eabbc8661
commit f1ba09f690
1 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
language: c language: c
before_install:
- git clone --depth=1 --branch=master git://github.com/uclouvain/openjpeg-data.git uclouvain/openjpeg-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 .. - cmake -G "Unix Makefiles" -DBUILD_CODEC=ON -DBUILD_THIRDPARTY=ON -DBUILD_TESTING=ON -DOPJ_DATA_ROOT=../../openjpeg-data ..
- make - make
- make test ARGS=-j2