diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2015-09-07 23:16:48 +0200 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2015-09-07 23:16:48 +0200 |
| commit | f1ba09f690ddb66fe89dc1db859f64bc429455b0 (patch) | |
| tree | af52a212a1d697eb3faa839e046839f2d2547efc | |
| parent | 4eabbc8661c97571425d87fd3e3128d87bd6bb95 (diff) | |
Add tests when running travis-ci
| -rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d44b6bf3..3e501108 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: c +before_install: + - git clone --depth=1 --branch=master git://github.com/uclouvain/openjpeg-data.git uclouvain/openjpeg-data compiler: - gcc script: - mkdir 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 test ARGS=-j2 |
