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

Commit

Permalink
Get e2e tests on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Loring committed Jun 12, 2016
1 parent 1e08348 commit 4d2dfff
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
11 changes: 5 additions & 6 deletions bin/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ set -e
cd test/e2e

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

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

node test.js
node test.js || exit 1

cd -
5 changes: 5 additions & 0 deletions bin/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ if [ "$cover" ]; then
./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info
rm -rf ./coverage
fi

if [ "${TRAVIS_PULL_REQUEST}" = "false" ]
then
./bin/run-e2e.sh || exit 1
fi
Binary file removed node-team-debug-test-a03aecc1d97a.json.enc
Binary file not shown.
Binary file added node-team-debug-test-dfc747dacb5b.json.enc
Binary file not shown.

0 comments on commit 4d2dfff

Please sign in to comment.