Add tests when running travis-ci
authormayeut <mayeut@users.noreply.github.com>
Mon, 7 Sep 2015 21:19:40 +0000 (23:19 +0200)
committermayeut <mayeut@users.noreply.github.com>
Mon, 7 Sep 2015 21:19:40 +0000 (23:19 +0200)
.travis.yml

index 3e50110831410b55ded0e20a6534ae1b09fcf1a4..963c2e510c3b152fa8ea355ac7068711f66ecb15 100644 (file)
@@ -1,11 +1,11 @@
 language: c
 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:
   - gcc
 script:
     - mkdir 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 test ARGS=-j2