forked from winsleague/winsleague
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/disable coverage (winsleague#177)
* (hopefully temporarily) disable coverage because it's failing tests * remove chimp caching because a) it was pointing to missing folder and b) chimp is only run on one of the parallel nodes so it doesn't make sense to run on both
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 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 |
---|---|---|
|
@@ -27,15 +27,14 @@ dependencies: | |
- (cd app; ./.testing/cache_npm_dependencies.sh) | ||
- (cd app; ./.testing/cache_build_and_dependencies.sh): | ||
timeout: 1200 | ||
- (cd app; chimp --path=features) # Cache chimp deps by running it without any tests | ||
|
||
checkout: | ||
post: | ||
- git submodule update --init | ||
|
||
test: | ||
override: | ||
- case $CIRCLE_NODE_INDEX in 0) (cd app; mkdir .coverage; meteor npm run test-coverage-app-unit; meteor npm run test-coverage-app-full) ;; 1) (cd app; ./tests/acceptance_run) ;; esac: | ||
- case $CIRCLE_NODE_INDEX in 0) (cd app; mkdir .coverage; meteor npm run test; meteor npm run test-app) ;; 1) (cd app; ./tests/acceptance_run) ;; esac: | ||
parallel: true | ||
|
||
deployment: | ||
|
@@ -44,8 +43,8 @@ deployment: | |
commands: | ||
# Publish code coverage data to CodeClimate (only works on master branch). | ||
# $CODECLIMATE_REPO_TOKEN is an environment variable setup in CircleCI. | ||
- npm install -g [email protected] | ||
- (cd app; CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN codeclimate-test-reporter < lcov.info) | ||
# - npm install -g [email protected] | ||
# - (cd app; CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN codeclimate-test-reporter < lcov.info) | ||
|
||
# Decrypt Meteor Up config | ||
- (cd .deploy/production; gpg --no-use-agent --quiet --passphrase $MUP_PASSPHRASE -o mup.js -d mup.js.gpg) | ||
|