Skip to content

Instantly share code, notes, and snippets.

@somersbmatthews
Created November 7, 2019 15:31
Show Gist options
  • Select an option

  • Save somersbmatthews/81b4411cea6adad66e0ff00c22aa90cb to your computer and use it in GitHub Desktop.

Select an option

Save somersbmatthews/81b4411cea6adad66e0ff00c22aa90cb to your computer and use it in GitHub Desktop.
.travis.yml for ember app
---
branches:
only:
- master
cache:
directories:
# We cache the SDK so we don't have to download it again on subsequent builds.
- $HOME/google-cloud-sdk
services:
- docker
env:
global:
# Do not prompt for user input when using any SDK methods.
- CLOUDSDK_CORE_DISABLE_PROMPTS=1
script: echo "This should be running tests for continuous integration"
# Deploy to Google Kubernetes Engine
after_success:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then ./deploy.sh; fi
language: node_js
node_js:
- "8"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
directories:
- $HOME/.npm
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
script:
- npm run lint:hbs
- npm run lint:js
- npm test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment