Configure travis
This commit is contained in:
parent
9e5ec12b02
commit
42344e1b46
1 changed files with 17 additions and 0 deletions
17
travis.yml
Normal file
17
travis.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
||||
keep-history: true
|
||||
local-dir: dist
|
||||
on:
|
||||
branch: master
|
||||
script:
|
||||
- npm run build
|
||||
|
||||
branches:
|
||||
only:
|
||||
master
|
||||
|
||||
script:
|
||||
- npm run lint
|
Loading…
Reference in a new issue