31
.travis.yml
31
.travis.yml
@@ -7,28 +7,9 @@
|
|||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "8"
|
- "node"
|
||||||
|
notifications:
|
||||||
cache:
|
webhooks: https://www.travisbuddy.com
|
||||||
directories:
|
env:
|
||||||
- "node_modules"
|
- MY_VAR=EverythignIsAwesome
|
||||||
|
- NODE_ENV=TEST
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
install:
|
|
||||||
- npm install
|
|
||||||
- npm run generate
|
|
||||||
|
|
||||||
script:
|
|
||||||
- echo "Skipping tests"
|
|
||||||
|
|
||||||
deploy:
|
|
||||||
provider: pages
|
|
||||||
skip-cleanup: true
|
|
||||||
github-token: $GITHUB_ACCESS_TOKEN # Set in travis-ci.org dashboard, marked secure https://docs.travis-ci.com/user/deployment/pages/#Setting-the-GitHub-token
|
|
||||||
target-branch: gh-pages
|
|
||||||
local-dir: dist
|
|
||||||
on:
|
|
||||||
branch: master
|
|
||||||
|
|||||||
Reference in New Issue
Block a user