You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+16-13Lines changed: 16 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -27,17 +27,17 @@ notifications:
27
27
env:
28
28
- CONFIG="Debug,Magick,GMP,ITK"
29
29
- CONFIG="Debug,Cairo,QGLviewer,HDF5"
30
-
- CONFIG="Documentation,Debug,Cairo,GMP"
30
+
- CONFIG="Documentation"
31
31
- CONFIG="DGtalTools"
32
32
33
33
matrix:
34
34
fast_finish: true
35
35
exclude:
36
36
- os: osx
37
-
env: CONFIG="Documentation,Debug,Cairo,GMP"
37
+
env: CONFIG="Documentation"
38
38
- compiler: gcc
39
39
os: linux
40
-
env: CONFIG="Documentation,Debug,Cairo,GMP"
40
+
env: CONFIG="Documentation"
41
41
- compiler: gcc
42
42
env: CONFIG="DGtalTools"
43
43
- os: osx
@@ -70,15 +70,17 @@ addons:
70
70
71
71
before_install:
72
72
- if [ $CXX == "g++" ]; then CCOMPILER="gcc-4.8"; CXXCOMPILER="g++-4.8"; fi
73
-
- DOC="false"
73
+
- BUILD_DOC="false"
74
+
- UPLOAD_DOC="false"
74
75
- NEEDCORE="true";
75
76
- NEEDEXAMPLESANDTESTS="true";
76
-
- if [ $CONFIG == "Documentation,Debug,Cairo,GMP" ]; then NEEDEXAMPLESANDTESTS="false"; NEEDCORE="false"; if [ $OriginalRepo == "true" ]; then if [ $TRAVIS_PULL_REQUEST == "false" ]; then DOC="true"; fi; fi; fi
77
+
- if [ $CONFIG == "Documentation" ]; then NEEDEXAMPLESANDTESTS="false"; NEEDCORE="false"; BUILD_DOC="true"; if [ $OriginalRepo == "true" ]; then if [ $TRAVIS_PULL_REQUEST == "false" ]; then UPLOAD_DOC="true"; fi; fi; fi
77
78
- if [ $CONFIG == "Debug,Magick,GMP,ITK" ]; then BTYPE="-DCMAKE_BUILD_TYPE=Debug -DWITH_MAGICK=true -DWITH_GMP=true -DBUILD_TESTING=ON -DWARNING_AS_ERROR=ON"; fi
78
79
- if [ $CONFIG == "Debug,Cairo,QGLviewer,HDF5" ]; then BTYPE="-DCMAKE_BUILD_TYPE=Debug -DWITH_HDF5=true -DWITH_CAIRO=true -DWITH_QGLVIEWER=true -DBUILD_TESTING=ON -DWARNING_AS_ERROR=OFF"; fi
79
-
- if [ $DOC == "true" ]; then .travis/install_doxygen.sh; BTYPE="-DDOXYGEN_EXECUTABLE=$HOME/doxygen/doxygen-1.8.10/bin/doxygen -DCMAKE_BUILD_TYPE=Debug -DWITH_CAIRO=true -DWITH_GMP=true"; DOC="true"; openssl aes-256-cbc -K $encrypted_47769ec71275_key -iv $encrypted_47769ec71275_iv -in .travis/dgtal_rsa.enc -out .travis/dgtal_rsa -d; chmod 600 .travis/dgtal_rsa; DOC="true"; fi
80
80
- if [ $CONFIG == "DGtalTools" ]; then NEEDEXAMPLESANDTESTS="false"; BTYPE="-DCMAKE_BUILD_TYPE=Debug -DWITH_MAGICK=true -DWITH_GMP=true -DWITH_HDF5=true -DWITH_CAIRO=true -DWITH_QGLVIEWER=true -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=off"; fi
81
-
- if [ $DOC == "true"]; then wget http://http://dgtal.org/doc/tags/DGtalTools-tagfile; fi
81
+
- if [ $UPLOAD_DOC == "true" ]; then openssl aes-256-cbc -K $encrypted_47769ec71275_key -iv $encrypted_47769ec71275_iv -in .travis/dgtal_rsa.enc -out .travis/dgtal_rsa -d; chmod 600 .travis/dgtal_rsa; BUILD_DOC="true"; fi
82
+
- if [ $BUILD_DOC == "true" ]; then wget http://dgtal.org/doc/tags/DGtalTools-tagfile; fi
83
+
- if [ $BUILD_DOC == "true" ]; then .travis/install_doxygen.sh; BTYPE="-DDOXYGEN_EXECUTABLE=$HOME/doxygen/doxygen-1.8.10/bin/doxygen"; fi
0 commit comments