Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmermerkaya committed Apr 17, 2019
1 parent 7907682 commit 08cd4c7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08cd4c7

Please sign in to comment.