forked from SolidOS/solid-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (33 loc) · 838 Bytes
/
.travis.yml
File metadata and controls
33 lines (33 loc) · 838 Bytes
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
32
33
language: node_js
node_js:
# see https://github.com/solid/solid-ui/issues/193 for discussion
# of node versions supported for Travis.
- "12"
- "lts/*"
- "node"
install:
- npm ci
script:
# This includes build, lint, and jest:
- npm test
- npm run doc
before_deploy:
- node ./travis/bumpversion.js
- sh ./travis/unignore-pages.sh
deploy:
- provider: npm
# Do not throw away the updated package.json we generated in `before_deploy`:
skip_cleanup: true
email: '$NPM_EMAIL'
api_key: '$NPM_TOKEN'
# Note: do not deploy on pull request, because $TRAVIS_BRANCH will be the target branch.
tag: '$TRAVIS_BRANCH'
on:
all_branches: true
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
target_branch: gh-pages
on:
branch: master