-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (45 loc) · 974 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
42
43
44
45
46
47
48
49
50
51
52
language: node_js
version: "1.0"
node_js: "10"
cache:
directories:
- node_modules
script:
- yarn lint:js
- yarn lint:style
- yarn test --coverage
# TODO: remove CI=false when eslint config airbnb updated
- CI=false PUBLIC_URL=https://morewings.github.io/react-calendar-toolkit yarn build
- yarn build:docs
- yarn build:lib
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: false
local_dir: build
on:
tags: true
branch: master
- provider: npm
edge: true
email: "$NPM_EMAIL"
api_key: "$NPM_TOKEN"
skip_cleanup: true
on:
tags: true
branch: master
- provider: netlify
site: react-calendar-toolkit.netlify.com
auth: "$NETLIFY_TOKEN"
dir: docz-dist
prod: true
cleanup: false
edge: true
on:
tags: true
branch: master
notifications:
email: false