-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
42 lines (37 loc) · 923 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
32
33
34
35
36
37
38
39
40
41
language: node_js
node_js:
- 'lts/*'
cache: npm
script:
- audit-ci --config ./audit-ci.json --moderate
- npm run license-report
- npm run lint
- npm run build
- npm run build:docs
before_deploy:
- source ./scripts/tag-commit.sh
- source ./scripts/prepare-pages-folder.sh
deploy:
- provider: releases
api_key: $GITHUB_ACCESS_TOKEN
tag_name: $TRAVIS_TAG
on:
branch: master
repo: lightelligence-io/styles
condition: '$TRAVIS_COMMIT_MESSAGE =~ ^release*'
- provider: npm
email: '[email protected]'
api_key: $NPM_TOKEN_PUBLISH
skip_cleanup: true
on:
branch: master
repo: lightelligence-io/styles
condition: '$TRAVIS_COMMIT_MESSAGE =~ ^release*'
- provider: pages
local_dir: gh-pages
skip_cleanup: true
github_token: $GITHUB_ACCESS_TOKEN
keep_history: true
target_branch: gh-pages
on:
branch: master