-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
52 lines (48 loc) · 906 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
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email:
recipients:
- goodluckhf@yandex.ru
- velmisovx@gmail.com
on_success: never
on_failure: always
branches:
except:
- /^v\d+\.\d+\.\d+$/
stages:
- lints
- test
- name: release
if: branch = master
jobs:
include:
- stage: lints
name: 'linting and type checking'
node_js:
- '12'
before_script:
- npm prune
script:
- npm run lint
- npm run build
- stage: test
node_js:
- '12'
before_script:
- npm prune
script:
- npm run test:cov
- npm run test:e2e
after_success:
- npm run report-coverage
- stage: release
node_js: '12'
before_script:
- npm prune
script:
- npm run build
- npm run semantic-release