.travis.yml 975 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
cache:
8
  yarn: true
Christopher Chedeau's avatar
Christopher Chedeau committed
9
  directories:
Joe Haddad's avatar
Joe Haddad committed
10
    - .npm
11
before_install:
Maël Nison's avatar
Maël Nison committed
12
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
13
  - export PATH="$HOME/.yarn/bin:$PATH"
14
install: true
15
script:
Joe Haddad's avatar
Joe Haddad committed
16
17
18
19
20
21
  - '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'
  - 'if [ $TEST_SUITE = "kitchensink-eject" ]; then tasks/e2e-kitchensink-eject.sh; fi'
  - 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
  - 'if [ $TEST_SUITE = "behavior" ]; then tasks/e2e-behavior.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
Joe Haddad's avatar
Joe Haddad committed
28
    - TEST_SUITE=behavior
29
30
matrix:
  include:
31
32
33
    - os: osx
      node_js: 8
      env: TEST_SUITE=behavior
34
    - node_js: 4
35
      env: TEST_SUITE=old-node