summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-05-26 23:58:12 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-05-26 23:58:12 +0100
commit2004b9fc0370a2134153ba6227422aced19f35f8 (patch)
tree72820e746e306ce5db03861a981d8b73da2c7c0d /.travis.yml
parentb3ca22dc339ca18873079bd96bbb19dd00bc8f0a (diff)
downloadswig-2004b9fc0370a2134153ba6227422aced19f35f8.tar.gz
Add Python 3 Travis tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 7d7204b6a..13502de0b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,8 @@ matrix:
- compiler: gcc
env: SWIGLANG=python
- compiler: gcc
+ env: SWIGLANG=python PY3=1
+ - compiler: gcc
env: SWIGLANG=ruby
- compiler: gcc
env: SWIGLANG=tcl
@@ -40,6 +42,7 @@ before_install:
- 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" = "python" -a "$PY3"; then sudo apt-get install python3-dev; fi
- if test "$SWIGLANG" = "tcl"; then sudo apt-get -qq install tcl8.4-dev; fi
script:
- ./autogen.sh && ./configure