Skip to content

Commit 09f01dd

Browse files
committed
clean up travis
1 parent 6a9d2f1 commit 09f01dd

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.travis.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,7 @@ jobs:
647647
before_install: |
648648
set -e
649649
650-
if [[ $SDIST == 1 ]]; then
651-
echo "sdist build"
652-
else
650+
if [[ $SDIST == 0 ]]; then
653651
# Check out and prepare the source
654652
# Multibuild doesn't have releases, so --depth would break eventually (see
655653
# https://superuser.com/questions/1240216/server-does-not-allow-request-for-unadvertised)
@@ -703,16 +701,13 @@ install: |
703701
704702
script: |
705703
# Install and run tests
706-
set -x
707704
708-
if [[ $SDIST == 1 ]]; then
709-
echo "sdist"
710-
else
705+
if [[ $SDIST == 0 ]]; then
706+
set -x
711707
install_run $PLAT && rc=$? || rc=$?
708+
set +x
712709
fi
713710
714-
set +x
715-
716711
# otherwise, Travis logic terminates prematurely
717712
# https://travis-ci.community/t/shell-session-update-command-not-found-in-build-log-causes-build-to-fail-if-trap-err-is-set/817
718713
trap ERR

0 commit comments

Comments
 (0)