-
Notifications
You must be signed in to change notification settings - Fork 47.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Move MS Windows build to CircleCI (#17984)"
This reverts commit 885ed46.
- Loading branch information
Showing
2 changed files
with
42 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
image: Visual Studio 2017 | ||
|
||
# Fix line endings in Windows. (runs before repo cloning) | ||
init: | ||
- git config --global core.autocrlf input | ||
|
||
environment: | ||
JAVA_HOME: C:\Program Files\Java\jdk1.8.0 | ||
matrix: | ||
- nodejs_version: 10 | ||
|
||
# Finish on first failed build | ||
matrix: | ||
fast_finish: true | ||
|
||
platform: | ||
- x64 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
# Disable Visual Studio build and deploy | ||
build: off | ||
deploy: off | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
- yarn install --frozen-lockfile | ||
|
||
test_script: | ||
- node --version | ||
- yarn lint | ||
# - yarn flow-ci | ||
- yarn build | ||
- yarn test | ||
- yarn prettier | ||
|
||
cache: | ||
- node_modules | ||
- "%LOCALAPPDATA%/Yarn" |