Permalink
Browse files

Travis testing of Python 3.3 added

  • Loading branch information...
wsfulton committed Feb 16, 2014
1 parent 0e4f2da commit d73513cb7ad5fcdab4fbaa9dd4c2e5fd96faf091
Showing with 6 additions and 2 deletions.
  1. +6 −2 .travis.yml
View
@@ -26,12 +26,15 @@ matrix:
env: SWIGLANG=python
- compiler: gcc
env: SWIGLANG=python PY3=1
+ - compiler: gcc
+ env: SWIGLANG=python PY3=1 VER=3.3
- compiler: gcc
env: SWIGLANG=ruby
- compiler: gcc
env: SWIGLANG=tcl
allow_failures:
- # None
+ env: SWIGLANG=python PY3=1 VER=3.3
+ - compiler: gcc
before_install:
- date -u
- lsb_release -a
@@ -45,7 +48,8 @@ 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" = "python" -a "$PY3" -a -z "$VER"; then sudo apt-get install -qq python3-dev; fi
+ - if test "$SWIGLANG" = "python" -a "$VER"; then sudo add-apt-repository -y ppa:fkrull/deadsnakes && sudo apt-get -qq update && sudo apt-get -qq install python${VER}-dev; fi
- if test "$SWIGLANG" = "tcl"; then sudo apt-get -qq install tcl8.4-dev; fi
script:
- ./autogen.sh && ./configure

0 comments on commit d73513c

Please sign in to comment.