.travis.yml 791 Bytes
Newer Older
Christopher Chedeau's avatar
Christopher Chedeau committed
1
---
2
dist: trusty
Christopher Chedeau's avatar
Christopher Chedeau committed
3
language: node_js
4
node_js:
Dan Abramov's avatar
Dan Abramov committed
5
  - 8
Dan Abramov's avatar
Dan Abramov committed
6
  - 9
Christopher Chedeau's avatar
Christopher Chedeau committed
7
8
cache:
  directories:
9
  - node_modules
Ville Immonen's avatar
Ville Immonen committed
10
11
  - packages/create-react-app/node_modules
  - packages/react-scripts/node_modules
12
install: true
13
14
15
16
script:
 - 'if [ $TEST_SUITE = "simple" ]; then tasks/e2e-simple.sh; fi'
 - 'if [ $TEST_SUITE = "installs" ]; then tasks/e2e-installs.sh; fi'
 - 'if [ $TEST_SUITE = "kitchensink" ]; then tasks/e2e-kitchensink.sh; fi'
17
 - 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
18
 - 'if [ $TEST_SUITE = "monorepos" ]; then tasks/e2e-monorepos.sh; fi'
Ville Immonen's avatar
Ville Immonen committed
19
env:
20
21
22
23
  matrix:
    - TEST_SUITE=simple
    - TEST_SUITE=installs
    - TEST_SUITE=kitchensink
24
    - TEST_SUITE=monorepos
25
26
matrix:
  include:
27
    - node_js: 0.10
28
      env: TEST_SUITE=old-node
Dan Abramov's avatar
Dan Abramov committed
29
30
    - node_js: 6
      env: TEST_SUITE=kitchensink