Move after_script steps to script so they fail fast
See
@@ -27,7 +27,6 @@ before_script:
- export PATH=$TRAVIS_BUILD_DIR/sdk/nodejs/bin:$PATH
script:
- if [ $TRAVIS_EVENT_TYPE = "cron" ]; then make nightly; else make; fi
-after_script:
- if [ $TRAVIS_EVENT_TYPE = "push" ] && [ $TRAVIS_BRANCH = "master" ]; then PUBFORCE=true make publish; fi
notifications:
slack:
