-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
57 lines (50 loc) · 948 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
53
54
55
56
57
sudo: required
dist: trusty
language: node_js
cache:
directories:
- node_modules
- flow-typed
env:
matrix:
- NODE_ENV=test
git:
submodules: false
jobs:
include:
- stage: prepare cache
node_js: '9'
before_script:
- npm i -g flow-typed
- npm i --no-save pop-api
- flow-typed install
script:
- npm run lint
- npm run flow
- stage: test
node_js: '7'
before_script:
- npm i --no-save pop-api
script: npm run test
- stage: test
node_js: '8'
before_script:
- npm i --no-save pop-api
script: npm run test
after_success: npm run coveralls
- stage: test
node_js: '9'
before_script:
- npm i --no-save pop-api
script: npm run test
- stage: build
node_js: '9'
script: npm run build
- stage: docs
node_js: '9'
script: npm run docs
notifications:
email:
recipients:
- chrisalderson@protonmail.com
on_failure: always