2016-03-03 15:52:12 +08:00
|
|
|
sudo: false
|
|
|
|
|
2015-06-08 20:12:49 +08:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
2018-11-28 12:17:49 +08:00
|
|
|
- 11
|
2016-11-22 13:43:53 +08:00
|
|
|
|
2018-07-11 20:12:25 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-07-12 16:48:46 +08:00
|
|
|
- $HOME/.npm
|
2018-07-11 20:12:25 +08:00
|
|
|
|
2017-11-06 17:34:14 +08:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
2018-07-11 20:12:25 +08:00
|
|
|
- env: TEST_TYPE=lint
|
|
|
|
- env: REACT=16 TEST_TYPE=test:dist
|
|
|
|
- env: REACT=16 TEST_TYPE=test:lib
|
|
|
|
- env: REACT=16 TEST_TYPE=test:es
|
|
|
|
- env: REACT=16 TEST_TYPE=test:dom
|
|
|
|
- env: REACT=16 TEST_TYPE=test:node
|
|
|
|
- env: REACT=15 TEST_TYPE=test:dist
|
|
|
|
- env: REACT=15 TEST_TYPE=test:lib
|
|
|
|
- env: REACT=15 TEST_TYPE=test:es
|
|
|
|
- env: REACT=15 TEST_TYPE=test:dom
|
|
|
|
- env: REACT=15 TEST_TYPE=test:node
|
2017-01-08 17:04:09 +08:00
|
|
|
|
2017-09-26 23:12:47 +08:00
|
|
|
before_script:
|
2017-11-06 17:34:14 +08:00
|
|
|
- scripts/install-react.sh
|
2017-09-26 23:12:47 +08:00
|
|
|
|
2017-01-08 17:04:09 +08:00
|
|
|
script:
|
2017-11-06 17:34:14 +08:00
|
|
|
- scripts/travis-script.sh
|