Skip to content

Commit 6ff15bd

Browse files
committed
build: only unpack tar on push requests
1 parent 3b0bd60 commit 6ff15bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_js:
66
before_install:
77
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_ac3aacad7ba8_key -iv $encrypted_ac3aacad7ba8_iv
88
-in secrets.tar.enc -out test/resources/secrets.tar -d || true'
9-
- cd test/resources/ && tar xvf secrets.tar && cd ../..
9+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && cd test/resources/ && tar xvf secrets.tar && cd ../.. || true'
1010
- npm install -g typescript
1111
script:
1212
- tsc

0 commit comments

Comments
 (0)