Skip to content

Commit

Permalink
set resource_class to large, back to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Aug 14, 2017
1 parent e1131e6 commit 3a39337
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
docker:
- image: mbgl/ci:r4-linux-gl-js
working_directory: ~/mapbox-gl-js
resource_class: large
steps:
- checkout
- restore_cache:
Expand Down
16 changes: 8 additions & 8 deletions .circleci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ PATH=$(python -m site --user-base)/bin:${PATH}
rm -rf coverage .nyc_output

# run linters
npm run lint
npm run lint-docs
npm run lint-css
yarn run lint
yarn run lint-docs
yarn run lint-css

# build and run build tests
npm run build-min
npm run build-dev
yarn run build-min
yarn run build-dev

# run flow to check types
npm run test-flow
yarn run test-flow

# run unit, render & query tests with coverage
xvfb-run --server-args="-screen 0 1024x768x24" npm run test-cov
xvfb-run --server-args="-screen 0 1024x768x24" yarn run test-cov

# send coverage report to coveralls
nyc report --reporter=lcov
Expand All @@ -37,6 +37,6 @@ fi

# upload benchmarks
if [ "$CIRCLE_BRANCH" == "master" ]; then
npm run build-benchmarks
yarn run build-benchmarks
aws s3 cp --acl public-read --content-type application/javascript bench/benchmarks_generated.js s3://mapbox-gl-js/master/benchmarks.js
fi

0 comments on commit 3a39337

Please sign in to comment.