forked from qmk/qmk_configurator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (41 loc) · 1.11 KB
/
.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
addons:
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
- libgconf-2-4
language: node_js
node_js:
- 11.12 # need this version for Jest 24, prior versions have SYMBOL bugs
cache:
# Caches $HOME/.npm when npm ci is default script command
# Caches node_modules in all other cases
npm: true
directories:
# we also need to cache folder with Cypress binary
- ~/.cache
install:
- yarn install
- npx cypress install
script:
- yarn run prettier:check
- yarn run prettier:json:check
- yarn run lint
- yarn run test:unit
- yarn run test:cypress:ci
- yarn run build
deploy:
provider: pages
skip_cleanup: true
local_dir: dist
github_token: $GH_TOKEN
keep_history: false
fqdn: config.qmk.fm
on:
branch: master
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/428080202c6aa8650101
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always