Created
November 7, 2019 15:31
-
-
Save somersbmatthews/81b4411cea6adad66e0ff00c22aa90cb to your computer and use it in GitHub Desktop.
.travis.yml for ember app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| 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