diff --git a/.travis.yml b/.travis.yml index 0e406ca..a594c74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,31 @@ language: c compiler: - gcc - clang +env: + - BINDINGS=none +matrix: + include: + - compiler: gcc + language: python + python: 2.7 + env: BINDINGS=python + - compiler: clang + language: python + python: 2.7 + env: BINDINGS=python + - compiler: gcc + language: python + python: 2.6 + env: BINDINGS=python + - compiler: clang + language: python + python: 2.6 + env: BINDINGS=python before_install: - sudo apt-get update -qq - - sudo apt-get install -qq swig python-dev python-nose + - if [ "$BINDINGS" == "python" ]; then sudo apt-get install -qq swig python-dev; fi script: - - scons + - scons bindings=$BINDINGS test notifications: irc: channels: