Skip to content

Commit 4c183f7

Browse files
committed
Fix travis while I'm here
1 parent f5ccbd7 commit 4c183f7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
language: node_js
22
node_js:
33
- "7"
4-
before_install:
5-
- openssl aes-256-cbc -K $encrypted_001d217edcb2_key -iv $encrypted_001d217edcb2_iv -in service-account.json.enc -out service-account.json -d
64
install:
75
- npm install -g lerna
86
- npm install -g eslint
97
- lerna bootstrap
108
script:
11-
- ./scripts/test.sh
9+
- ./scripts/test.sh

scripts/test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ find . -type f -name "*.js" -not -path "*node_modules*" \
2525
if [ "$TRAVIS_SECURE_ENV_VARS" = false ]; then
2626
echo "Could not find secure environment variables, skipping integration tests."
2727
else
28+
# Decode secure stuff
29+
openssl aes-256-cbc -K $encrypted_001d217edcb2_key -iv $encrypted_001d217edcb2_iv -in service-account.json.enc -out service-account.json -d
30+
2831
# Run all tests
2932
lerna run test
30-
fi
33+
fi

0 commit comments

Comments
 (0)