File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ before_install:
95
95
- export CXX=g++-${GCC}
96
96
- export MPICH_BOT_URL_HEAD=MPICH_GCC${GCC}_BOT_URL_HEAD
97
97
- |
98
+ set -o errexit
98
99
if [[ (-n ${TRAVIS_TAG}) && (${TRAVIS_OS_NAME} == osx) ]] && ${TRAVIS_SECURE_ENV_VARS} ; then
99
100
brew update > /dev/null
100
101
[[ "$(brew ls --versions gpg2)" ]] || brew install gpg2
@@ -111,7 +112,9 @@ before_install:
111
112
curl https://izaakbeekman.com/izaak.pubkey.txt | gpg --import
112
113
git tag -v ${TRAVIS_TAG}
113
114
fi
115
+ set +o errexit
114
116
- |
117
+ set -o errexit
115
118
if [[ (-n ${TRAVIS}) && (${TRAVIS_OS_NAME} == osx) ]]; then
116
119
export PATH="${PATH}:${HOME}/Library/Python/2.7/bin"
117
120
else
@@ -122,9 +125,11 @@ before_install:
122
125
${CC} --version
123
126
${CXX} --version
124
127
fi
128
+ set +o errexit
125
129
126
130
install :
127
131
- |
132
+ set -o errexit
128
133
if [[ (-n ${TRAVIS}) && (${TRAVIS_OS_NAME} == osx) ]]; then
129
134
brew update > /dev/null
130
135
@@ -170,9 +175,11 @@ install:
170
175
mpicc --version
171
176
cmake --version
172
177
fi
178
+ set +o errexit
173
179
174
180
script :
175
181
- |
182
+ set -o errexit
176
183
if [[ ${BUILD_TYPE} == InstallScript ]]; then
177
184
./install.sh --yes-to-all -i "${HOME}/opencoarrays" -j 4 -f "$(type -P "${FC}")" -c "$(type -P "${CC}")" -C "$(type -P "${CXX}")"
178
185
cd prerequisites/builds/opencoarrays/*
@@ -191,15 +198,18 @@ script:
191
198
cd ..
192
199
done
193
200
fi
201
+ set +o errexit
194
202
195
203
after_script :
196
204
- |
205
+ set -o errexit
197
206
if [[ "${TRAVIS_TAG}" ]]; then
198
207
if [[ "v${TRAVIS_TAG}" != "v$(sed -n 's/\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,\}\)/\1/p' .VERSION)" ]]; then
199
208
echo "ERROR: You are trying to tag a new release but have a version missmatch in \`.VERSION\`"
200
209
false # throw an error
201
210
fi
202
211
fi
212
+ set +o errexit
203
213
204
214
after_success :
205
215
- find . -name '*.gcno' -print
You can’t perform that action at this time.
0 commit comments