Submit test results to CDash
authormayeut <mayeut@users.noreply.github.com>
Mon, 7 Sep 2015 22:32:20 +0000 (00:32 +0200)
committermayeut <mayeut@users.noreply.github.com>
Mon, 7 Sep 2015 22:32:20 +0000 (00:32 +0200)
.travis.yml

index 65f2f2877b523205ca79a5e7f223c6d87754e5d1..2213a841eb562c00fb79ff3765676d579770e6c4 100644 (file)
@@ -1,11 +1,14 @@
 language: c
 before_install:
+  - cmake --version
   - 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=../data ..
+    - cmake -G "Unix Makefiles" -DBUILD_CODEC=ON -DBUILD_THIRDPARTY=ON -DBUILD_TESTING=ON -DOPJ_DATA_ROOT=../data -DSITE=travis-ci.org ..
     - make
-    - make test ARGS=-j2 || true
+    - ctest -D ExperimentalStart
+    - ctest -D ExperimentalTest -j2 || true
+    - ctest -D ExperimentalSubmit || true