.travis.yml 872 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
6
  - 10
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
13
14
before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH="$HOME/.yarn/bin:$PATH"
15
install: true
16
17
18
19
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'
20
 - 'if [ $TEST_SUITE = "kitchensink-eject" ]; then tasks/e2e-kitchensink-eject.sh; fi'
21
 - 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
Ville Immonen's avatar
Ville Immonen committed
22
env:
23
24
25
26
  matrix:
    - TEST_SUITE=simple
    - TEST_SUITE=installs
    - TEST_SUITE=kitchensink
27
    - TEST_SUITE=kitchensink-eject
28
29
matrix:
  include:
30
    - node_js: 4
31
      env: TEST_SUITE=old-node