forked from testing-library/react-testing-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (37 loc) · 800 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
language: node_js
cache: npm
notifications:
email: false
node_js:
# technically we support 10.0.0, but some of our tooling doesn't
- 10.14.2
- 12
- 14
- 15
env:
- REACT_DIST=latest
- REACT_DIST=next
- REACT_DIST=experimental
before_install:
- nvm install-latest-npm
install:
- npm install
# as requested by the React team :)
# https://reactjs.org/blog/2019/10/22/react-release-channels.html#using-the-next-channel-for-integration-testing
- npm install react@$REACT_DIST react-dom@$REACT_DIST
script:
- npm run validate
- npx codecov@3
branches:
only:
- master
- beta
jobs:
allow_failures:
- REACT_DIST=next
- REACT_DIST=experimental
include:
- stage: release
node_js: 14
script: kcd-scripts travis-release
if: fork = false