Skip to content

Commit 0c962ea

Browse files
committed
Fixup travis-CI
1 parent 8e0bc11 commit 0c962ea

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ matrix:
88
packages:
99
- gfortran
1010
- liblapack-dev
11-
- os: linux
11+
- language: cpp
12+
os: linux
1213
dist: bionic
1314
addons:
1415
apt:
@@ -65,11 +66,11 @@ install: true
6566
before_script:
6667
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install bash gcc; clang --version; gfortran --version; fi
6768
- if [[ "$TRAVIS_OS_NAME $CC" == "osx gcc" ]]; then export CC=gcc-9 ; export CXX=g++-9 ; $CC --version; $CXX --version; fi
68-
- if [[ -z "$DISTRO" ]]; then cd ..
69-
- if [[ -z "$DISTRO" ]]; then wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew
70-
- if [[ -z "$DISTRO" ]]; then export PROJECT_URL=https://github.com/$TRAVIS_REPO_SLUG
71-
- if [[ -z "$DISTRO" ]]; then export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`
72-
- if [[ -z "$DISTRO" ]]; then bash ./coinbrew fetch $PROJECT_URL:$TRAVIS_BRANCH --no-prompt --skip-update > /dev/null
69+
- if [[ -z "$DISTRO" ]]; then cd ..; fi
70+
- if [[ -z "$DISTRO" ]]; then wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew; fi
71+
- if [[ -z "$DISTRO" ]]; then export PROJECT_URL=https://github.com/$TRAVIS_REPO_SLUG; fi
72+
- if [[ -z "$DISTRO" ]]; then export PROJECT=`echo $TRAVIS_REPO_SLUG | cut -d "/" -f 2`; fi
73+
- if [[ -z "$DISTRO" ]]; then bash ./coinbrew fetch $PROJECT_URL:$TRAVIS_BRANCH --no-prompt --skip-update > /dev/null; fi
7374

7475
script:
7576
- if [[ -z "$DISTRO" ]]; then bash ./coinbrew build $PROJECT --no-prompt --verbosity=2 --test

0 commit comments

Comments
 (0)