configure python in user-config.jam (for travis)

This commit is contained in:
arvidn 2015-06-07 20:16:12 -04:00
parent 3f3b7d494c
commit 2d89193084
1 changed files with 3 additions and 1 deletions

View File

@ -3,9 +3,11 @@ language: cpp
before_script:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository -y ppa:boost-latest/ppa; sudo apt-get update -qq; fi
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install libboost1.54-all-dev; fi
- if [ $TRAVIS_OS_NAME == osx ]; then sudo brew install boost boost-build; fi
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get upgrade libpython2.7-dev ; fi
- if [ $TRAVIS_OS_NAME == osx ]; then sudo brew install boost boost-build libpython27-dev; fi
- echo "using gcc ;" >~/user-config.jam
- echo "using clang ;" >>~/user-config.jam
- echo "using python : 2.7 ;" >>~/user-config.jam
script:
- cd test