Skip to content

Commit

Permalink
Travis: updated matrix to build for python3.4
Browse files Browse the repository at this point in the history
Up Travis VM to ubuntu trusty.
  • Loading branch information
Clement Champetier committed May 27, 2016
1 parent 42de8c0 commit acd97da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: cpp

# Use container-based infrastructure
sudo: false
sudo: required
dist: trusty

os:
- linux
Expand All @@ -25,7 +26,7 @@ env:
- CI_NODE_TOTAL=2
matrix:
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.2
- PYTHON_VERSION=3.4

matrix:
allow_failures:
Expand Down Expand Up @@ -84,19 +85,20 @@ addons:
- python-numpy
- python-nose
- python3-dev
- python3-numpy
- python3-setuptools
- python3-nose
- libfreetype6-dev
- libbz2-dev
- libltdl-dev
- libpng-dev
- libpng12-dev
- libjpeg-dev
- libraw-dev
- libglew-dev
- libtiff4-dev
- libilmbase-dev
- libopenexr-dev
# - libopenimageio-dev
- libopenimageio-dev
- libglew-dev
- libgraphviz-dev
- graphviz-dev
Expand Down
2 changes: 1 addition & 1 deletion tools/travis/launch_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ git clone https://github.com/tuttleofx/TuttleOFX-data.git
ln -s ${TRAVIS_BUILD_DIR}/TuttleOFX-data ${TRAVIS_BUILD_DIR}/libraries/tuttle/pyTest/TuttleOFX-data
if [[ ${PYTHON_VERSION} == "2.7" ]]; then
nosetests ${TRAVIS_BUILD_DIR}/libraries/tuttle/pyTest -v
elif [[ ${PYTHON_VERSION} == "3.2" ]]; then
elif [[ ${PYTHON_VERSION} == "3.4" ]]; then
nosetests3 ${TRAVIS_BUILD_DIR}/libraries/tuttle/pyTest -v
fi

Expand Down

0 comments on commit acd97da

Please sign in to comment.