Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
[Tests] run tests with multiple react versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 11, 2019
1 parent 456b63c commit 181d8c9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ language: node_js
os:
- linux
node_js:
- "11"
- "10"
- "8"
- "6"
- "lts/*"
cache:
directories:
- "node_modules"
Expand All @@ -16,7 +13,15 @@ matrix:
include:
- node_js: "lts/*"
env: PRETEST=true
before_script:
- 'if [ -n "${REACT-}" ]; then npm install --no-save "react@~${REACT}" "react-dom@~${REACT}"; fi'
script:
- 'if [ -n "${PRETEST-}" ]; then yarn run pretest ; fi'
- 'if [ -n "${TEST-}" ]; then yarn run tests-only ; fi'
sudo: false
sudo: false
env:
- REACT=0.14.9
- REACT=15.0
- REACT=15
- REACT=16.0
- REACT=16

0 comments on commit 181d8c9

Please sign in to comment.