Skip to content

Commit

Permalink
temporarily turn off yarn (ampproject#8356)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinmombay authored Mar 23, 2017
1 parent fd822fb commit d79cf56
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7,940 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ env:
- NPM_CONFIG_PROGRESS="false"

cache:
yarn: true
#yarn: true
directories:
- node_modules
13 changes: 7 additions & 6 deletions build-system/pr-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,13 @@ function main(argv) {
return 0;
}

if (files.includes('package.json') ?
!files.includes('yarn.lock') : files.includes('yarn.lock')) {
console.error('pr-check.js - any update to package.json or yarn.lock ' +
'must include the other file. Please update through yarn.');
process.exit(1);
}
// NOTE(erwinm, #8356): temporary removal to get around travis bug for yarn
//if (files.includes('package.json') ?
//!files.includes('yarn.lock') : files.includes('yarn.lock')) {
//console.error('pr-check.js - any update to package.json or yarn.lock ' +
//'must include the other file. Please update through yarn.');
//process.exit(1);
//}

const sortedBuildTargets = [];
for (const t of buildTargets) {
Expand Down
Loading

0 comments on commit d79cf56

Please sign in to comment.