Skip to content

Commit 4c0b58e

Browse files
committed
Updates travis commands for better PRs
This should fix the failed Travis builds when checking Pull Requests. It should end up skipping the integration tests, but the unit tests should still run.
1 parent 0c2cebe commit 4c0b58e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ script:
99
after_success:
1010
- npm run coveralls
1111
before_install:
12-
- openssl aes-256-cbc -K $encrypted_d4f181ef7c79_key -iv $encrypted_d4f181ef7c79_iv
13-
-in auth.js.enc -out test/resources/auth.js -d
12+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc
13+
-K $encrypted_d4f181ef7c79_key -iv $encrypted_d4f181ef7c79_iv
14+
-in auth.js.enc -out test/resources/auth.js -d
15+
|| true'

0 commit comments

Comments
 (0)