File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Travis Continuous Integration Configuration File
2
+ os :
3
+ - linux
4
+ - osx
2
5
language :
3
6
- cpp
4
7
compiler :
@@ -18,8 +21,9 @@ before_install: # Use this to prepare the system to install prerequisites or dep
18
21
- export CI_SOURCE_PATH=$(pwd)
19
22
- export REPOSITORY_NAME=${PWD##*/}
20
23
- echo "Testing branch $TRAVIS_BRANCH of $REPOSITORY_NAME"
21
- - sudo apt-get update -qq
22
- - sudo apt-get install -qq -y subversion gcc g++ libjpeg-dev libxext-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libpq-dev libpng12-dev xfonts-100dpi xfonts-75dpi msttcorefonts texlive-latex-base ptex-bin latex2html nkf
24
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
25
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq -y subversion gcc g++ libjpeg-dev libxext-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libpq-dev libpng12-dev xfonts-100dpi xfonts-75dpi msttcorefonts texlive-latex-base ptex-bin latex2html nkf; fi
26
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install jpeg libpng mesalib-glw wget; fi
23
27
install : # Use this to install any prerequisites or dependencies necessary to run your build
24
28
- cd ${HOME}
25
29
- git clone http://github.com/euslisp/jskeus jskeus
@@ -29,7 +33,7 @@ script: # All commands must exit with code 0 on success. Anything else is consid
29
33
- make
30
34
- source bashrc.eus
31
35
- export EXIT_STATUS=0; for test_l in irteus/test/*.l; do irteusgl $test_l; export EXIT_STATUS=$?; done; [ $EXIT_STATUS == 0 ]
32
- - (cd doc; make)
36
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then (cd doc; make) fi
33
37
after_failure :
34
38
- echo "failure"
35
39
after_success :
You can’t perform that action at this time.
0 commit comments