Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 4266b20

Browse files
committed
fix: travis.sh should exit with an error if any of the build steps fail.
This was accomplished by adding the `set -e` flag documented [here](http://stackoverflow.com/questions/2870992/automatic-exit-from-bash-shell-script-on-error).
1 parent bab99d9 commit 4266b20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/travis.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
set -e
13
grunt build
24
grunt test:unit
35
if [ $TRAVIS_TAG ]; then

0 commit comments

Comments
 (0)