Skip to content

Commit 7cc9b8a

Browse files
committed
ci: remove "set -e" completely.
Correction for b9ed812 commit.
1 parent b9ed812 commit 7cc9b8a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,12 @@ jobs:
1515
allow_failures:
1616
- env: SPRING_PROFILES_ACTIVE=postgres
1717

18-
# * set -e is needed to fail fast.
19-
# See https://github.com/travis-ci/travis-ci/issues/10480
20-
# * travis_terminate allows us to gracefully handle "set -e" shutdown.
21-
# See https://travis-ci.community/t/log-are-truncated-when-my-script-exits-abnormally/5878
18+
# travis_terminate is used for getting a fail-fast behavior and don't abort the execution of the Travis scripts.
19+
# See https://travis-ci.community/t/log-are-truncated-when-my-script-exits-abnormally/5878
2220
#
2321
# @todo #1054 Unify PostgreSQL version/configuration between Travis and docker-compose
2422
before_script:
2523
- trap 'travis_terminate 1' ERR;
26-
set -e;
2724
if [ "$SPRING_PROFILES_ACTIVE" = 'travis' ]; then
2825
mysql -u root -e 'CREATE DATABASE mystamps CHARACTER SET utf8;';
2926
mkdir -p /tmp/uploads /tmp/preview;

0 commit comments

Comments
 (0)