Skip to content

Instantly share code, notes, and snippets.

@lovubuntu
Last active January 16, 2019 09:47
Show Gist options
  • Save lovubuntu/d690d29fd8fea74479f0fb77788715fd to your computer and use it in GitHub Desktop.
Save lovubuntu/d690d29fd8fea74479f0fb77788715fd to your computer and use it in GitHub Desktop.
Travis configuration with appropriate command line arguments for running tests in headless mode.
script:
- yarn lint
- ng test --watch false --browsers ChromeHeadless
- ng e2e --protractor-config='e2e/protractor.ci.conf.js'
- yarn build --prod --base-href $base_href
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment