Travis build for top 10 target languages plus gcc and clang SWIG builds.
Travis builds patch developed in wsfulton/travis branch
This commit is contained in:
parent
970c72b6da
commit
35ab209332
1 changed files with 38 additions and 18 deletions
56
.travis.yml
56
.travis.yml
|
|
@ -1,31 +1,51 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
|
||||||
- clang
|
- clang
|
||||||
|
- gcc
|
||||||
|
env:
|
||||||
|
- SWIGLANG=
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: "2.7"
|
- compiler: gcc
|
||||||
compiler: gcc
|
env: SWIGLANG=csharp
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=go
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=java
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=lua
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=octave SWIGJOBS=-j4
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=perl5
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=php
|
||||||
|
- compiler: gcc
|
||||||
env: SWIGLANG=python
|
env: SWIGLANG=python
|
||||||
- jdk: oraclejdk6
|
- compiler: gcc
|
||||||
compiler: gcc
|
|
||||||
env: SWIGLANG=java
|
|
||||||
- jdk: oraclejdk7
|
|
||||||
compiler: gcc
|
|
||||||
env: SWIGLANG=java
|
|
||||||
- perl: "5.10"
|
|
||||||
compiler: gcc
|
|
||||||
env: SWIGLANG=perl
|
|
||||||
- rvm: 1.8.7
|
|
||||||
compiler: gcc
|
|
||||||
env: SWIGLANG=ruby
|
env: SWIGLANG=ruby
|
||||||
|
- compiler: gcc
|
||||||
|
env: SWIGLANG=tcl
|
||||||
|
allow_failures:
|
||||||
|
# None
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install libboost-dev -qq
|
- lsb_release -a
|
||||||
|
- uname -a
|
||||||
|
- time sudo apt-get -qq install libboost-dev
|
||||||
|
- if test "$SWIGLANG" = "csharp"; then sudo apt-get -qq install mono-devel; fi
|
||||||
|
- if test "$SWIGLANG" = "go"; then go env | sed -e 's/^/export /' > goenvsetup && source goenvsetup && rm -f goenvsetup; fi # Until configure.ac is fixed
|
||||||
|
- if test "$SWIGLANG" = "lua"; then sudo apt-get -qq install lua5.1 liblua5.1-dev; fi
|
||||||
|
- if test "$SWIGLANG" = "octave"; then sudo apt-get -qq install octave3.2 octave3.2-headers; fi
|
||||||
|
- if test "$SWIGLANG" = "php"; then sudo apt-get install php5-cli php5-dev; fi
|
||||||
|
- if test "$SWIGLANG" = "tcl"; then sudo apt-get -qq install tcl8.4-dev; fi
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh && ./configure
|
- ./autogen.sh && ./configure
|
||||||
- make -s
|
- make -s $SWIGJOBS
|
||||||
- echo "SWIGLANG: $SWIGLANG"
|
- if test -z "$SWIGLANG"; then make -s check-ccache; fi
|
||||||
# - make -k check-$SWIGLANG-examples check-$SWIGLANG-test-suite
|
- ./swig -version
|
||||||
|
- if test -n "$SWIGLANG"; then make -s check-$SWIGLANG-version; fi
|
||||||
|
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-examples; fi
|
||||||
|
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-test-suite; fi
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue