File tree Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Original file line number Diff line number Diff line change 1
1
language : cpp
2
- dist : xenial
2
+ dist : bionic
3
3
matrix :
4
4
include :
5
- - # dist: xenial
6
- compiler : g++
7
- os : linux
8
- sudo : required
9
- - dist : bionic
5
+ - # dist: bionic
10
6
compiler : g++
11
7
os : linux
12
8
sudo : required
13
9
14
10
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
21
12
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
22
13
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
23
14
git clone https://github.com/Cantera/cantera.git
29
20
global :
30
21
- ASALI_OS='-DASALI_ON_WINDOW=0'
31
22
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
42
23
cd cantera
43
24
scons build system_sundials=n
44
25
sudo scons install
You can’t perform that action at this time.
0 commit comments