Files
cbsnexora/.travis.yml
T
Abhay ChawlaandGitHub 6947f950f7 ci: update travis.yml
Update travis.yml to fix issue in deployment to gh-pages
2018-06-16 12:40:32 +05:30

24 lines
354 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
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master