Files
cbsnexora/.travis.yml
T
Abhay ChawlaandGitHub 7db914846d ci: update .travis.yml (#37)
Update travis configuration for auto deployment of pull requests to
gh-pages.

Fixes #4
2018-06-09 00:29:17 +05:30

24 lines
362 B
YAML

sudo: required
dist: trusty
language: node_js
node_js:
- "9.5"
before_script:
- npm i npm@latest -g
- npm install -g --silent @angular/cli
script:
- ng lint
- ng build --prod --base-href="/web-app/"
deploy:
provider: pages
skip-cleanup: true
local-dir: dist/web-app
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master