forked from diegoazh/gmap-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 862 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: node_js
node_js:
- '12'
cache: npm
install:
- npm ci
script:
- npm run test
- npm run build
# before_deploy:
# - git config --global user.email ${GITHUB_EMAIL}
# - git config --global user.name ${GITHUB_USER}
# - git remote set-url origin "https://${GH_TOKEN}@github.com/diegoazh/gmap-vue.git" > /dev/null 2>&1
# - git checkout master
# the line below is not used yet
# - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
# deploy:
# - provider: script
# script: "npm run release"
# skip_cleanup: true
# on:
# branch: master
# - provider: pages
# local_dir: packages/documentation/docs/.vuepress/dist
# github_token: $GH_TOKEN
# keep_history: true
# skip_cleanup: true
# on:
# branch: master
env:
- THIS_IS_ON_TRAVIS_AND_SANDBOX_IS_NOT_ALLOWED=true