forked from ljharb/prop-types-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (54 loc) · 958 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
language: node_js
workspaces:
use:
- build
stages:
- install-build
- test
node_js:
- "13"
- "12"
- "11"
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
- "iojs"
- "0.12"
- "0.10"
import:
- ljharb/travis-ci:node/latest-npm.yml
- ljharb/travis-ci:node/greenkeeper.yml
- ljharb/travis-ci:node/dependabot.yml
install: 'echo already installed!'
script: 'npm run react && npm run test:only'
sudo: false
env:
- REACT=16
- REACT=15
- REACT=15.4
- REACT=0.14
matrix:
fast_finish: true
include:
- stage: install-build
workspaces:
create:
name: build
paths:
- ./
node_js: "lts/*"
env: BUILD=true
install: 'npm install'
script: 'npm run test:prepare'
- stage: test
node_js: "lts/*"
script: 'npm run pretest'
env: PRETEST=true
- stage: test
node_js: "lts/*"
script: 'npm run coverage'
env: COVERAGE=true