projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eabbc8
)
Add tests when running travis-ci
author
mayeut
<mayeut@users.noreply.github.com>
Mon, 7 Sep 2015 21:16:48 +0000
(23:16 +0200)
committer
mayeut
<mayeut@users.noreply.github.com>
Mon, 7 Sep 2015 21:16:48 +0000
(23:16 +0200)
.travis.yml
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index d44b6bf341b08bdcc7fdfb4ae4a094aaf02e9327..3e50110831410b55ded0e20a6534ae1b09fcf1a4 100644
(file)
--- 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