1899
|
1 language: cpp
|
|
2 compiler:
|
|
3 - clang
|
|
4 - gcc
|
|
5 env:
|
|
6 - SWIGLANG=
|
|
7 matrix:
|
|
8 include:
|
|
9 - compiler: gcc
|
|
10 env: SWIGLANG=csharp
|
|
11 - compiler: gcc
|
|
12 env: SWIGLANG=go
|
|
13 - compiler: gcc
|
|
14 env: SWIGLANG=guile
|
|
15 - compiler: gcc
|
|
16 env: SWIGLANG=java
|
|
17 - compiler: gcc
|
|
18 env: SWIGLANG=lua
|
|
19 - compiler: gcc
|
|
20 env: SWIGLANG=octave SWIGJOBS=-j4
|
|
21 - compiler: gcc
|
|
22 env: SWIGLANG=perl5
|
|
23 - compiler: gcc
|
|
24 env: SWIGLANG=php
|
|
25 - compiler: gcc
|
|
26 env: SWIGLANG=python
|
|
27 - compiler: gcc
|
|
28 env: SWIGLANG=python PY3=1
|
|
29 - compiler: gcc
|
|
30 env: SWIGLANG=ruby
|
|
31 - compiler: gcc
|
|
32 env: SWIGLANG=tcl
|
|
33 allow_failures:
|
|
34 # None
|
|
35 before_install:
|
|
36 - lsb_release -a
|
|
37 - uname -a
|
|
38 - sudo apt-get -qq update
|
|
39 - time sudo apt-get -qq install libboost-dev
|
|
40 - if test "$SWIGLANG" = "csharp"; then sudo apt-get -qq install mono-devel; fi
|
|
41 - if test "$SWIGLANG" = "go"; then go env | sed -e 's/^/export /' > goenvsetup && source goenvsetup && rm -f goenvsetup; fi # Until configure.ac is fixed
|
|
42 - if test "$SWIGLANG" = "guile"; then sudo apt-get -qq install guile-2.0-dev; fi
|
|
43 - if test "$SWIGLANG" = "lua"; then sudo apt-get -qq install lua5.1 liblua5.1-dev; fi
|
|
44 - if test "$SWIGLANG" = "octave"; then sudo apt-get -qq install octave3.2 octave3.2-headers; fi
|
|
45 - if test "$SWIGLANG" = "php"; then sudo apt-get install php5-cli php5-dev; fi
|
|
46 - if test "$SWIGLANG" = "python" -a "$PY3"; then sudo apt-get install python3-dev; fi
|
|
47 - if test "$SWIGLANG" = "tcl"; then sudo apt-get -qq install tcl8.4-dev; fi
|
|
48 script:
|
|
49 - ./autogen.sh && ./configure
|
|
50 - make -s $SWIGJOBS
|
|
51 - if test -z "$SWIGLANG"; then make -s check-ccache; fi
|
|
52 - ./swig -version
|
|
53 - if test -n "$SWIGLANG"; then make -s check-$SWIGLANG-version; fi
|
|
54 - if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-examples; fi
|
|
55 - if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-test-suite; fi
|
|
56 branches:
|
|
57 only:
|
|
58 - master
|