-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
# Use Ubuntu Precise instead of new default Trusty which cause build fail | ||
# with pre installed yarn v0.17.8 | ||
# https://github.com/facebookincubator/create-react-app/issues/3054 | ||
# TODO: remove after Trusty environment is updated with a lastet version of yarn | ||
dist: precise | ||
language: node_js | ||
node_js: | ||
- 6 | ||
- 8 | ||
cache: | ||
directories: | ||
- node_modules | ||
- packages/create-react-app/node_modules | ||
- packages/react-scripts/node_modules | ||
install: true | ||
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' | ||
env: | ||
global: | ||
- USE_YARN=no | ||
matrix: | ||
- TEST_SUITE=simple | ||
- TEST_SUITE=installs | ||
- TEST_SUITE=kitchensink | ||
matrix: | ||
include: | ||
- node_js: 0.10 | ||
env: TEST_SUITE=simple | ||
# 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 |