Skip to content

Commit

Permalink
disabling integration tests for Travis from pull requests due to encr…
Browse files Browse the repository at this point in the history
…ypted variables
  • Loading branch information
josmas committed May 16, 2016
1 parent f95c27a commit 2502d02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ language: node_js
sudo: false
node_js:
- "0.12"
script: ./scripts/run-tests.sh
8 changes: 8 additions & 0 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]
then
npm test
else
npm run test:unit
fi

0 comments on commit 2502d02

Please sign in to comment.