-
Notifications
You must be signed in to change notification settings - Fork 891
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
1 parent
7907682
commit 08cd4c7
Showing
1 changed file
with
7 additions
and
2 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 |
---|---|---|
|
@@ -8,11 +8,16 @@ env: | |
global: | ||
- CXX=g++-4.8 | ||
before_install: | ||
# Yarn defaults to an old version, make sure we | ||
# get an up to date version | ||
# Yarn defaults to an old version, make sure we get an up to date version | ||
- npm install -g [email protected] | ||
- '[ "${NPM_TOKEN+x}" ] && echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > $HOME/.npmrc || echo "Skipping .npmrc creation";' | ||
install: | ||
# --frozen-lockfile doesn’t generate a yarn.lock lockfile and should fail if an update is needed. | ||
# This will make sure that yarn.lock file in the PR is consistent with package.json. | ||
# | ||
# Due to a yarn issue (https://github.com/yarnpkg/yarn/issues/5840), --frozen-lockfile doesn't | ||
# actually fail if an update is required, but integrity check from tools/pretest.js will catch | ||
# the issue, so it still works as expected. | ||
- yarn install --frozen-lockfile | ||
before_script: | ||
- cp config/ci.config.json config/project.json | ||
|