Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
锁定最低覆盖率 #2028
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Nov 26, 2016
1 parent 1e5d5d9 commit 313a47e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ matrix:
services:
- memcached

cache:
directories:
- $HOME/.composer/cache
- node_modules

before_install:
- phpenv config-add tests/travis.ini
- nvm install node

install:
- composer install --no-interaction
- bash vendor/miaoxing/plugin/build/install-travis.sh

script:
- phpunit --verbose --stderr --coverage-clover build/logs/clover.xml
- bash vendor/miaoxing/plugin/build/build-travis.sh --coverage 82

after_success:
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
- travis_retry php coveralls.phar -v --exclude-no-stmt

notifications:
webhooks:
- http://build.miaoxingyun.com/travis-notifications

0 comments on commit 313a47e

Please sign in to comment.