Skip to content

Commit

Permalink
Run code coverage on master not bleeding
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbrent committed Oct 6, 2016
1 parent 74e9894 commit 48002c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ before_script:
- source tests/travis/setup.sh

script:
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]] && [[ "$WP_VERSION" == "4.5" ]] && [[ "$WP_MULTISITE" == "0" ]] && [[ "$TRAVIS_BRANCH" == "bleeding_branch" ]]; then phpunit --configuration tests/phpunit.xml.dist --coverage-clover clover.xml; else phpunit --configuration tests/phpunit.xml.dist; fi
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]] && [[ "$WP_VERSION" == "4.5" ]] && [[ "$WP_MULTISITE" == "0" ]] && [[ "$TRAVIS_BRANCH" == "master" ]]; then phpunit --configuration tests/phpunit.xml.dist --coverage-clover clover.xml; else phpunit --configuration tests/phpunit.xml.dist; fi

after_script:
- bash <(curl -s https://codecov.io/bash)
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
codecov:
branch: bleeding_branch
branch: master

coverage:
ignore:
Expand Down

0 comments on commit 48002c3

Please sign in to comment.