Skip to content

Instantly share code, notes, and snippets.

@aboudard
Last active December 27, 2019 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aboudard/264a592edb3831daa55dcb84a1b0b497 to your computer and use it in GitHub Desktop.
Save aboudard/264a592edb3831daa55dcb84a1b0b497 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- "10"
dist: trusty
sudo: required
addons:
chrome: stable
sonarcloud:
organization: "aboudard"
branches:
only:
- master
before_script:
- npm install -g --silent @angular/cli@7.3.5
script:
- ng lint
- npm run cypress:ci
- npm run test
- sonar-scanner
- npm run buildgp
deploy:
provider: pages
skip_cleanup: true
github_token: "$GITHUB_TOKEN"
local_dir: dist/appv7
on:
branch: master
notifications:
email:
on_failure: change
on_success: change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment