Skip to content

Commit 23349d5

Browse files
committed
Improved compiling instructions
1 parent 405654f commit 23349d5

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.travis.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
language: cpp
2-
dist: xenial
2+
dist: bionic
33
matrix:
44
include:
5-
- #dist: xenial
6-
compiler: g++
7-
os: linux
8-
sudo: required
9-
- dist: bionic
5+
- #dist: bionic
106
compiler: g++
117
os: linux
128
sudo: required
139

1410
before_script: |
15-
if [[ "$TRAVIS_DIST" == "xenial" ]]; then
16-
sudo apt-get install git python3-pip
17-
git clone https://github.com/SCons/scons.git
18-
else
19-
sudo apt-get install scons git python3-ruamel.yaml python3-yaml
20-
fi
11+
sudo apt-get install scons git python3-ruamel.yaml python3-yaml
2112
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
2213
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
2314
git clone https://github.com/Cantera/cantera.git
@@ -29,16 +20,6 @@ env:
2920
global:
3021
- ASALI_OS='-DASALI_ON_WINDOW=0'
3122
script: |
32-
if [[ "$TRAVIS_DIST" == "xenial" ]]; then
33-
cd scons
34-
python bootstrap.py build/scons
35-
cd build/scons/
36-
sudo python setup.py install
37-
cd ..
38-
cd ..
39-
cd ..
40-
pip3 install ruamel.yaml
41-
fi
4223
cd cantera
4324
scons build system_sundials=n
4425
sudo scons install

0 commit comments

Comments
 (0)