Skip to content

Commit

Permalink
Migrate Travis CI linux builds to container-based environment
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Aug 3, 2016
1 parent 13c8ba6 commit 2b2f733
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
language: cpp
sudo: false
os:
- linux
- osx
addons:
apt:
packages:
- python-dev
- python-numpy
- gfortran
- libsundials-serial-dev
- liblapack-dev
- libblas-dev
before_script: |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update -qq
sudo apt-get install -y python-dev python-numpy-dev gfortran libsundials-serial-dev liblapack-dev libblas-dev
wget https://github.com/msabramo/cython/releases/download/0.19.1/Cython-0.19.1-cp27-none-linux_x86_64.whl
sudo pip install Cython-0.19.1-cp27-none-linux_x86_64.whl
else
pip install --user --install-option="--no-cython-compile" cython
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
pip install --user --egg scons
pip install --user --install-option="--no-cython-compile" cython
export PATH=/Users/travis/Library/Python/2.7/bin:$PATH
fi
rm -f cantera.conf
Expand Down

0 comments on commit 2b2f733

Please sign in to comment.