Skip to content

Commit 9537d1b

Browse files
committed
Switch to new npm package
1 parent e190c16 commit 9537d1b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"strip-ansi": "^3.0.0",
8888
"stylelint": "^7.5.0",
8989
"symlink-or-copy": "^1.0.1",
90+
"travis-after-modes": "0.0.3",
9091
"ts-node": "^0.7.3",
9192
"tslint": "^3.13.0",
9293
"typedoc": "^0.5.1",

scripts/ci/after-success.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
# Go to the project root directory
44
cd $(dirname $0)/../..
55

6-
# Download and run the Travis After All script to retrieve information about other build modes.
7-
curl -Lo travis_after_all.py https://raw.github.com/dmakhno/travis_after_all/master/travis_after_all.py
8-
python travis_after_all.py
6+
RESULT=`$(npm bin)/travis-after-modes`
97

10-
if [ "$BUILD_LEADER" = "YES" ] && [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
118

12-
echo "All other builds succeeded. Publishing build"
13-
# ./scripts/release/publish-build-artifacts.sh
9+
echo "Result: $RESULT"
10+
11+
if [ "$RESULT" = "PASSED" ]; then
12+
echo "Everything passed"
13+
else
14+
echo "Something failed"
1415
fi

0 commit comments

Comments
 (0)