-
Notifications
You must be signed in to change notification settings - Fork 47.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CircleCI support to 15-stable (#8778)
* devDependencies: add core-js and es6-symbol polyfill for tests * Update Flow and fix issues (#8006) * Add npm v4.0.0 support (#8082) * Add support for node v7 (#8135) * Upgrade ESLint and dependencies, fix new lint errors, switch Travis to Yarn (#8309) * Update ESLint to 3.10.2 Also pull in fbjs for extending properly, per @zpao. This also disables consistent-return, which has about 80 failing cases in React currently. If we'd like to turn this back on, we should do it separately and fix all the call sites properly (rather than just adding 'return undefined;' everywhere, which adds no value. Fixes to all existing lint errors plus an update for yarn.lock to follow. * Update yarn.lock after the eslint update. * Fix all new eslint failures Unfortunately I had to add three eslint-disable-next-line instances. All have explanations inline. * Switch Travis to use yarn instead of npm * Update all Jest packages to 17.x (#8327) * Update all Jest packages to 17.x, cache babel-jest transforms * Remove the caching Looking at the other builds it doesn't seem to actually be that necessary. The bottleneck is executors, not build time. * Remove unnecessary package, fix fiber test runner * Regenerate yarn lockfile * Update Flow to 0.37.0 (#8608) Nothing really changes. * Update to Jest 18 (#8621) * mockImpl -> mockImplementation D4329549 * Fixed linting errors * circle.yml and circleci scripts * Update Flow and fix issues (#8006) * Fixed flow errors * Updated shrinkwrap * Removed unnecessary change * Added jest --runInBand flag * Removed ReactDOMFiber changes
- Loading branch information
1 parent
ef96e59
commit 688490d
Showing
46 changed files
with
752 additions
and
1,490 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
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
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,42 @@ | ||
--- | ||
general: | ||
branches: | ||
ignore: | ||
- gh-pages | ||
|
||
machine: | ||
timezone: America/Los_Angeles | ||
node: | ||
version: 6 | ||
ruby: | ||
version: 2.2.3 | ||
environment: | ||
TRAVIS_REPO_SLUG: facebook/react | ||
|
||
dependencies: | ||
pre: | ||
# This is equivalent to $TRAVIS_COMMIT_RANGE | ||
# Need to figure out how to bail early if this is a "docs only" build | ||
- echo $CIRCLE_COMPARE_URL | cut -d/ -f7 | ||
override: | ||
- bundle install --gemfile=docs/Gemfile --deployment --path=vendor/bundle --jobs=3 --retry=3 | ||
- npm install | ||
- scripts/circleci/set_up_github_keys.sh | ||
post: | ||
# - npm ls --depth=0 | ||
cache_directories: | ||
- docs/vendor/bundle | ||
- .grunt # Show size comparisons between builds | ||
- ~/react-gh-pages # docs checkout | ||
|
||
test: | ||
override: | ||
- ./scripts/circleci/test_entry_point.sh: | ||
parallel: true | ||
|
||
deployment: | ||
staging: | ||
branch: /.*/ | ||
commands: | ||
- ./scripts/circleci/upload_build.sh | ||
- ./scripts/circleci/build_gh_pages.sh |
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
Oops, something went wrong.