Skip to content

Commit e59c550

Browse files
committed
build: do not trace deploy step
1 parent d736121 commit e59c550

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.travis.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,28 +107,28 @@ script:
107107
fi
108108
fi
109109
- |
110-
rm rust-toolchain
111-
./setup-toolchain.sh
112-
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
113-
export PATH=$PATH:$(rustc --print sysroot)/bin
114-
else
115-
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
116-
fi
110+
rm rust-toolchain
111+
./setup-toolchain.sh
112+
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
113+
export PATH=$PATH:$(rustc --print sysroot)/bin
114+
else
115+
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
116+
fi
117117
- |
118118
if [ -z ${INTEGRATION} ]; then
119119
travis_wait 30 ./ci/base-tests.sh && sleep 5
120120
else
121121
./ci/integration-tests.sh && sleep 5
122122
fi
123123
124-
after_success: |
125-
#!/bin/bash
126-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
127-
set -ex
128-
if [ -z ${INTEGRATION} ]; then
129-
./.github/deploy.sh
130-
else
131-
echo "Not deploying, because we're in an integration test run"
124+
after_success:
125+
- |
126+
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
127+
set -e
128+
if [ -z ${INTEGRATION} ]; then
129+
./.github/deploy.sh
130+
else
131+
echo "Not deploying, because we're in an integration test run"
132+
fi
133+
set +e
132134
fi
133-
set +e
134-
fi

0 commit comments

Comments
 (0)