.travis.yml 748 Bytes
Newer Older
Christopher Chedeau's avatar
Christopher Chedeau committed
1
2
---
language: node_js
3
4
node_js:
  - 6
5
  - 7
Christopher Chedeau's avatar
Christopher Chedeau committed
6
7
cache:
  directories:
8
  - node_modules
Ville Immonen's avatar
Ville Immonen committed
9
10
  - packages/create-react-app/node_modules
  - packages/react-scripts/node_modules
11
install: true
12
13
14
15
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'
Ville Immonen's avatar
Ville Immonen committed
16
env:
17
18
19
20
21
22
23
24
  global:
    - USE_YARN=no
  matrix:
    - TEST_SUITE=simple
    - TEST_SUITE=installs
    - TEST_SUITE=kitchensink
matrix:
  include:
25
26
    - node_js: 0.10
      env: TEST_SUITE=simple
Dan Abramov's avatar
Dan Abramov committed
27
28
29
30
# There's a weird Yarn/Lerna bug related to prerelease versions.
# TODO: reenable after we ship 1.0.
#    - node_js: 6
#      env: USE_YARN=yes TEST_SUITE=simple