Skip to content

Commit

Permalink
Feature/disable coverage (winsleague#177)
Browse files Browse the repository at this point in the history
* (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
noahsw authored Aug 8, 2016
1 parent b191e74 commit c712a99
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
Expand Down

0 comments on commit c712a99

Please sign in to comment.