11language : cpp
22sudo : false
3- dist : trusty
3+ dist : xenial
44ruby : 2.2.0
55notifications :
66 slack :
@@ -26,84 +26,79 @@ matrix:
2626 addons :
2727 apt :
2828 packages :
29- - cmake3
30- - cmake3-data
3129 - clang
3230 - clang-format-3.9
3331 - gfortran
3432 - libboost-math-dev
33+ - python3
34+ - python3-pip
3535 env :
3636 - CXX_COMPILER='clang++'
3737 - C_COMPILER='clang'
3838 - Fortran_COMPILER='gfortran'
3939 - BUILD_TYPE='release'
40- - PYTHON='--three'
4140 - RUN_DANGER=true
4241 - os : linux
4342 addons :
4443 apt :
4544 packages :
46- - cmake3
47- - cmake3-data
48- - g++
49- - gcc
50- - gfortran
45+ - g++-4.8
46+ - gcc-4.8
47+ - gfortran-4.8
5148 - libboost-math-dev
49+ - python3
50+ - python3-pip
5251 env :
53- - CXX_COMPILER='g++'
54- - C_COMPILER='gcc'
55- - Fortran_COMPILER='gfortran'
52+ - CXX_COMPILER='g++-4.8 '
53+ - C_COMPILER='gcc-4.8 '
54+ - Fortran_COMPILER='gfortran-4.8 '
5655 - BUILD_TYPE='release'
57- - PYTHON='--two'
5856 - RUN_DANGER=false
5957 - os : linux
6058 addons :
6159 apt :
6260 sources :
6361 - ubuntu-toolchain-r-test
6462 packages :
65- - cmake3
66- - cmake3-data
6763 - g++-6
6864 - gcc-6
6965 - gfortran-6
7066 - libboost-math-dev
67+ - python3
68+ - python3-pip
7169 env :
7270 - CXX_COMPILER='g++-6'
7371 - C_COMPILER='gcc-6'
7472 - Fortran_COMPILER='gfortran-6'
7573 - BUILD_TYPE='release'
76- - PYTHON='--two'
7774 - STATIC='--static'
7875 - RUN_DANGER=false
7976 - os : linux
8077 addons :
8178 apt :
8279 packages :
83- - cmake3
84- - cmake3-data
8580 - g++
8681 - gcc
8782 - gfortran
8883 - libboost-math-dev
8984 - lcov
85+ - python3
86+ - python3-pip
9087 env :
9188 - CXX_COMPILER='g++'
9289 - C_COMPILER='gcc'
9390 - Fortran_COMPILER='gfortran'
9491 - BUILD_TYPE='debug'
95- - PYTHON='--two'
9692 - COVERAGE='--coverage'
9793 - RUN_DANGER=false
9894before_install :
9995 - test -n $CC && unset CC
10096 - test -n $CXX && unset CXX
10197 - test -n $FC && unset FC
10298install :
103- - pip install --user pipenv --upgrade
104- - pipenv $PYTHON install
99+ - pip3 install --user pipenv --upgrade
100+ - pipenv --python $(type -P python3) install --dev
105101before_script :
106- - source $(pipenv --venv)/bin/activate
107102 - ./.ci/report_versions.sh
108103 - cd $TRAVIS_BUILD_DIR
109104 - echo 'Build set up summary'
@@ -117,7 +112,7 @@ script:
117112 BUNDLE_GEMFILE=.ci/Gemfile bundle exec danger --dangerfile=.ci/Dangerfile --verbose
118113 fi
119114 - |
120- python setup.py --cxx=$CXX_COMPILER \
115+ pipenv run python setup.py --cxx=$CXX_COMPILER \
121116 --cc=$C_COMPILER \
122117 --fc=$Fortran_COMPILER \
123118 --type=$BUILD_TYPE \
@@ -126,8 +121,8 @@ script:
126121 --prefix=$HOME/Software/pcmsolver
127122 - cd build
128123 - ../.ci/ci_build.sh
129- - travis_wait 40 python ../.ci/ci_test.py ctest --output-on-failure --verbose --parallel 2
130- - python ../.ci/ci_print_failing.py
124+ - travis_wait 40 pipenv run python ../.ci/ci_test.py ctest --output-on-failure --verbose --parallel 2
125+ - pipenv run python ../.ci/ci_print_failing.py
131126after_success :
132127 - |
133128 if [[ "$COVERAGE" = "--coverage" ]]; then
0 commit comments