Merge pull request #410 from pulumi/yarn-cache

Fix Yarn errors during build
This commit is contained in:
Matthew Riley 2017-10-13 15:34:56 -07:00 committed by GitHub
commit d0472f0ac4
3 changed files with 5 additions and 3 deletions

View file

@ -19,7 +19,7 @@ before_install:
# Node.js 6.10.2 for all JavaScript code (to match AWS Lambda).
- nvm install v6.10.2
# Install Yarn as per https://yarnpkg.com/lang/en/docs/install-ci/#travis-tab.
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.6
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.2.1
- export PATH=$HOME/.yarn/bin:$PATH
# Install the AWS CLI so that we can publish the resulting release (if applicable) at the end.
- pip install --upgrade --user awscli

View file

@ -3,7 +3,9 @@ SHELL=/bin/bash
PROJECT=github.com/pulumi/pulumi
PROJECT_PKGS=$(shell go list ./cmd/... ./pkg/... | grep -v /vendor/)
TESTPARALLELISM=10
# Integration tests run Yarn, and Yarn may fail if invoked concurrently.
TESTPARALLELISM=1
ECHO=echo -e
GOMETALINTERBIN=gometalinter

View file

@ -7,7 +7,7 @@
<NativeRuntimeModuleDirectory>$(NodeJSSdkDirectory)\runtime\native\</NativeRuntimeModuleDirectory>
<NodeVersion>6.10.2</NodeVersion>
<NodeArch>x64</NodeArch>
<TestParallelism>10</TestParallelism>
<TestParallelism>1</TestParallelism>
</PropertyGroup>
<Target Name="EnsureGoDependencies">