Skip to content

Instantly share code, notes, and snippets.

@lovubuntu
Last active January 16, 2019 06:37
Show Gist options
  • Save lovubuntu/383694353f1010470771c031a72717f6 to your computer and use it in GitHub Desktop.
Save lovubuntu/383694353f1010470771c031a72717f6 to your computer and use it in GitHub Desktop.
Initial Travis configuration file
language: node_js
node_js:
- "10.4.1"
sudo: true
addons:
chrome: stable
branches:
only:
- master
before_script:
- npm install -g @angular/cli
script:
- ng lint
- ng test
- ng e2e
- yarn build --prod --base-href $base_href #base_href should be given in travis as an environment variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment