language: node_js
node_js: '8'
sudo: false
dist: trusty
cache:
  directories:
  - node_modules
before_install:
- openssl aes-256-cbc -K $encrypted_5059668afa37_key -iv $encrypted_5059668afa37_iv
  -in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
script:
- npm run test
after_script:
- npm run report-coverage
deploy:
  provider: gae
  config: app.yaml
  keyfile: github-health-staging-5ed56f9155c0-travis.json
  project: github-health-staging
  default: true
  skip_cleanup: true
branches:
  only:
  - master

language: node_js
node_js: '8'
sudo: false
dist: trusty
cache:
  directories:
  - node_modules
before_install:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (
    openssl aes-256-cbc -K $encrypted_5059668afa37_key -iv $encrypted_5059668afa37_iv -in secrets.tar.enc -out secrets.tar -d
  ); fi
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then (
    tar xvf secrets.tar
  ); fi
script:
- npm run test
after_script:
- npm run report-coverage
deploy:
  provider: gae
  config: app.yaml
  keyfile: github-health-staging-5ed56f9155c0-travis.json
  project: github-health-staging
  default: true
  skip_cleanup: true
branches:
  only:
  - master

Fix builds for forked pull requests
Fix builds for forked pull requests
