Skip to content

Commit 6b47189

Browse files
committed
Fix CI silent failures
1 parent 5e816e4 commit 6b47189

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ matrix:
7777

7878
before_install:
7979
- |
80+
set -o errexit
8081
if [[ $TRAVIS ]] && [[ "X$TRAVIS_OS_NAME" = "Xosx" ]]; then
8182
export PATH="$PATH:$HOME/Library/Python/2.7/bin"
8283
else
@@ -88,9 +89,11 @@ before_install:
8889
$FC --version
8990
$CC --version
9091
fi
92+
set +o errexit
9193
9294
install:
9395
- |
96+
set -o errexit
9497
if [[ $TRAVIS ]] && [[ "X$TRAVIS_OS_NAME" = "Xosx" ]]; then
9598
brew update > /dev/null
9699
@@ -141,9 +144,11 @@ install:
141144
export FC=mpif90
142145
export CC=mpicc
143146
fi
147+
set +o errexit
144148
145149
script:
146150
- |
151+
set -o errexit
147152
if [[ "X$BUILD_TYPE" = "XInstallScript" ]]; then
148153
export FC=gfortran-5
149154
export CC=gcc-5
@@ -163,6 +168,7 @@ script:
163168
make install
164169
cd ..
165170
fi
171+
set +o errexit
166172
167173
after_success:
168174
- find . -name '*.gcno' -print

0 commit comments

Comments
 (0)