Skip to content

Commit

Permalink
Improved compiling instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
srebughini committed May 10, 2020
1 parent 405654f commit 23349d5
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
language: cpp
dist: xenial
dist: bionic
matrix:
include:
- #dist: xenial
compiler: g++
os: linux
sudo: required
- dist: bionic
- #dist: bionic
compiler: g++
os: linux
sudo: required

before_script: |
if [[ "$TRAVIS_DIST" == "xenial" ]]; then
sudo apt-get install git python3-pip
git clone https://github.com/SCons/scons.git
else
sudo apt-get install scons git python3-ruamel.yaml python3-yaml
fi
sudo apt-get install scons git python3-ruamel.yaml python3-yaml
sudo apt-get install build-essential libgtkmm-3.0-dev g++ gfortran python libboost-dev cython python-dev python-numpy python-numpy-dev python-setuptools python3 python3-dev python3-setuptools python3-numpy cython3 python3-matplotlib
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
git clone https://github.com/Cantera/cantera.git
Expand All @@ -29,16 +20,6 @@ env:
global:
- ASALI_OS='-DASALI_ON_WINDOW=0'
script: |
if [[ "$TRAVIS_DIST" == "xenial" ]]; then
cd scons
python bootstrap.py build/scons
cd build/scons/
sudo python setup.py install
cd ..
cd ..
cd ..
pip3 install ruamel.yaml
fi
cd cantera
scons build system_sundials=n
sudo scons install
Expand Down

0 comments on commit 23349d5

Please sign in to comment.