@@ -99,7 +99,6 @@ before_install:
99
99
- export CXX=g++-${GCC}
100
100
- export MPICH_BOT_URL_HEAD=MPICH_GCC${GCC}_BOT_URL_HEAD
101
101
- |
102
- set -o errexit
103
102
if [[ (-n ${TRAVIS_TAG}) && (${TRAVIS_OS_NAME} == osx) ]] && ${TRAVIS_SECURE_ENV_VARS} ; then
104
103
brew update > /dev/null
105
104
brew ls --versions gpg2 >/dev/null || brew install gpg2
@@ -116,9 +115,7 @@ before_install:
116
115
curl https://izaakbeekman.com/izaak.pubkey.txt | gpg --import
117
116
git tag -v ${TRAVIS_TAG}
118
117
fi
119
- set +o errexit
120
118
- |
121
- set -o errexit
122
119
if [[ (-n ${TRAVIS}) && (${TRAVIS_OS_NAME} == osx) ]]; then
123
120
export PATH="${PATH}:${HOME}/Library/Python/2.7/bin"
124
121
else
@@ -129,11 +126,9 @@ before_install:
129
126
${CC} --version
130
127
${CXX} --version
131
128
fi
132
- set +o errexit
133
129
134
130
install :
135
131
- |
136
- set -o errexit
137
132
if [[ (-n ${TRAVIS}) && (${TRAVIS_OS_NAME} == osx) ]]; then
138
133
brew update > /dev/null
139
134
@@ -179,11 +174,9 @@ install:
179
174
mpicc --version
180
175
cmake --version
181
176
fi
182
- set +o errexit
183
177
184
178
script :
185
179
- |
186
- set -o errexit
187
180
if [[ ${BUILD_TYPE} == InstallScript ]]; then
188
181
./install.sh --yes-to-all -i "${HOME}/opencoarrays" -j 4 -f "$(type -P "${FC}")" -c "$(type -P "${CC}")" -C "$(type -P "${CXX}")"
189
182
cd prerequisites/builds/opencoarrays/*
@@ -202,18 +195,15 @@ script:
202
195
cd ..
203
196
done
204
197
fi
205
- set +o errexit
206
198
207
199
after_script :
208
200
- |
209
- set -o errexit
210
201
if [[ "${TRAVIS_TAG}" ]]; then
211
202
if [[ "v${TRAVIS_TAG}" != "v$(sed -n '/[0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,\}/{s/^\([^.]*\)\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,\}\)\(.*\)/\2/p;q;}' .VERSION)" ]]; then
212
203
echo "ERROR: You are trying to tag a new release but have a version missmatch in \`.VERSION\`"
213
204
false # throw an error
214
205
fi
215
206
fi
216
- set +o errexit
217
207
218
208
after_success :
219
209
- find . -name '*.gcno' -print
@@ -231,7 +221,6 @@ after_success:
231
221
# sha256sum "OpenCoarrays-${TRAVIS_TAG}.tar.gz" >> "opencoarrays-${TRAVIS_TAG}-SHA256.txt
232
222
# fi
233
223
# - |
234
- # set -o errexit
235
224
# openssl aes-256-cbc -K ${encrypted_ef4535c39461_key} -iv ${encrypted_ef4535c39461_iv} -in subkey-328B3A0E-secret.asc.enc -out ./subkey-328B3A0E-secret.asc -d
236
225
# gpg --allow-secret-key-import --import ./subkey-328B3A0E-secret.asc && rm subkey-328B3A0E-secret.asc
237
226
# rm subkey-328B3A0E-secret.* || true
@@ -250,7 +239,6 @@ after_success:
250
239
# --comment 'verify with:' \
251
240
# --comment '`gpg --verify opencoarrays-'"${TRAVIS_TAG}"'-SHA256.txt.asc`' \
252
241
# "opencoarrays-${TRAVIS_TAG}-SHA256.txt"
253
- # set +o errexit
254
242
255
243
# deploy:
256
244
# provider: releases
0 commit comments