Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 4d2dfff

Browse files
author
Matt Loring
committed
Get e2e tests on travis
1 parent 1e08348 commit 4d2dfff

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

bin/run-e2e.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@ set -e
55
cd test/e2e
66

77
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
8-
openssl aes-256-cbc -K $encrypted_a8f6bb4bf8ae_key \
9-
-iv $encrypted_a8f6bb4bf8ae_iv \
10-
-in ../../node-team-debug-test-a03aecc1d97a.json.enc \
11-
-out node-team-debug-test-a03aecc1d97a.json -d
12-
export GOOGLE_APPLICATION_CREDENTIALS=node-team-debug-test-a03aecc1d97a.json
8+
openssl aes-256-cbc -K $encrypted_e9782ba88cb0_key \
9+
-iv $encrypted_e9782ba88cb0_iv \
10+
-in ../../node-team-debug-test-dfc747dacb5b.json.enc \
11+
-out ../../node-team-debug-test-dfc747dacb5b.json -d
1312
fi
1413

1514
echo -en "travis_fold:start:npm_install_test_e2e\\r" | tr / _
1615
echo "npm install in test/e2e"
1716
npm install
1817
echo -en "travis_fold:end:npm_install_test_e2e\\r" | tr / _
1918

20-
node test.js
19+
node test.js || exit 1
2120

2221
cd -

bin/run-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ if [ "$cover" ]; then
4242
./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info
4343
rm -rf ./coverage
4444
fi
45+
46+
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]
47+
then
48+
./bin/run-e2e.sh || exit 1
49+
fi
-2.25 KB
Binary file not shown.
2.28 KB
Binary file not shown.

0 commit comments

Comments
 (0)