Skip to content

Commit

Permalink
Fail on deploy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Dec 12, 2014
1 parent a664122 commit 5155a0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ env:
- secure: "Ga/n9txTxjBDFxsyhbthRZyqVTZA1cOmhH5WaQEWoMcG9yU+RvAdEjqdFmUFHE7SArHIKovyzoupQ9FELESeu8/lkbDtin3MZn3Aj6QXHioBSMihGbduHsGK8yJ1WyjDYXC3fN8XdwNQRZrVFq0ocauPkml/w8uauEsiMo3PX8A="
before_install:
- cd reference-implementation
after_success:
script:
- npm test
- cd ..
- bash ./deploy.sh
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

if [ "$DEPLOY_USER" == "" ]; then
echo "No deploy credentials present; skipping deploy"
Expand Down

0 comments on commit 5155a0d

Please sign in to comment.