Skip to content

Commit

Permalink
Add secrets (#254)
Browse files Browse the repository at this point in the history
This time do it correctly.
  • Loading branch information
lesv committed Jun 6, 2016
1 parent 96b339b commit ffd018c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,26 @@

language: java
jdk:
- oraclejdk8
- oraclejdk8
addons:
apt:
packages:
- expect
before_install:
- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv -in service-account.json.enc -out service-account.json -d
&& export GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/service-account.json GCLOUD_PROJECT=cloud-samples-tests
|| true
- openssl aes-256-cbc -K $encrypted_d17a6ce39290_key -iv $encrypted_d17a6ce39290_iv
-in gae-firebase-secrets.json.enc -out appengine/firebase-event-proxy/gae-firebase-event-proxy/src/main/webapp/gae-firebase-secrets.json
-d
- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv
-in service-account.json.enc -out service-account.json -d && export GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/service-account.json
GCLOUD_PROJECT=cloud-samples-tests || true
# Skip the install step, since Maven will download the dependencies we need
# when the test build runs.
# http://stackoverflow.com/q/31945809/101923
# https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step
install: true
script: ./travis.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)
branches:
only:
- master
Binary file not shown.
Binary file added gae-firebase-secrets.json.enc
Binary file not shown.

0 comments on commit ffd018c

Please sign in to comment.