Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 531f1f9

Browse files
author
Simon Hofmann
committed
Updated Travis config
1 parent b0543dd commit 531f1f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ script:
106106
npm run $BUILD_TASK $TAG;
107107
cd -;
108108
fi
109-
110-
after_success:
111-
- if [[ $TRAVIS_TAG != "" && $BUILD_TASK == "prebuild" ]]; then
109+
- if [[ $BUILD_TASK == "prebuild" && $TRAVIS_TAG != "" ]]; then
112110
cd ./ci/$BUILD_TASK;
113111
npm run $BUILD_TASK $TAG;
114112
cd -;
115113
fi
114+
115+
after_success:
116116
- if [ $BUILD_TASK = 'cover' ]; then
117117
npm install;
118118
npm run codecov -- -t $CODECOV_TOKEN;

0 commit comments

Comments
 (0)