Compare commits

...
Author SHA1 Message Date
bendtherules 17046c9aa4 Merge branch 'master' of https://github.com/bendtherules/react-fiber-traverse into test-multi-react 2019-09-09 16:14:02 +05:30
bendtherules 144f4a861b travis - Name each matrix job 2019-09-01 21:55:51 +05:30
bendtherules adb1dae2c2 travis - Fix env var naming case 2019-09-01 21:46:04 +05:30
bendtherules c48057b6a4 travis.yml - Add multiple env for each react version
react and react-dom version combos mentioned together
2019-09-01 21:37:26 +05:30
+29
View File
@@ -1,6 +1,35 @@
language: node_js language: node_js
matrix:
include:
- name: "react 16.0.x"
env: REACT_V=react@16.0.x REACT_DOM_V=react-dom@16.0.x
- name: "react 16.1.x"
env: REACT_V=react@16.1.x REACT_DOM_V=react-dom@16.1.x
- name: "react 16.2.x"
env: REACT_V=react@16.2.x REACT_DOM_V=react-dom@16.2.x
- name: "react 16.3.x"
env: REACT_V=react@16.3.x REACT_DOM_V=react-dom@16.3.x
- name: "react 16.4.x"
env: REACT_V=react@16.4.x REACT_DOM_V=react-dom@16.4.x
- name: "react 16.5.x"
env: REACT_V=react@16.5.x REACT_DOM_V=react-dom@16.5.x
- name: "react 16.6.x"
env: REACT_V=react@16.6.x REACT_DOM_V=react-dom@16.6.x
- name: "react 16.7.x"
env: REACT_V=react@16.7.x REACT_DOM_V=react-dom@16.7.x
- name: "react 16.8.x"
env: REACT_V=react@16.8.x REACT_DOM_V=react-dom@16.8.x
- name: "react 16.9.x"
env: REACT_V=react@16.9.x REACT_DOM_V=react-dom@16.9.x
notifications: notifications:
email: false email: false
# Install reqd react and react-dom version for each matrix
before_script:
- echo $REACT_V $REACT_DOM_V # log react and react-dom versions
- npm i --no-save $REACT_V $REACT_DOM_V # install them
script: script:
- npm run test - npm run test
- npx codecov - npx codecov