-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed .travis.yml after_build stuff
- Loading branch information
1 parent
1ad44d1
commit 1de13cf
Showing
1 changed file
with
1 addition
and
31 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 |
---|---|---|
|
@@ -23,34 +23,4 @@ install: | |
|
||
script: | ||
- mkdir -p build/logs | ||
- phpunit --coverage-text --verbose --coverage-clover=coverage.clover --coverage-html coverage | ||
|
||
after_script: | ||
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi; | ||
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi; | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "TravisCI" | ||
- cp -R coverage ${HOME}/coverage | ||
- cd ${HOME} | ||
- git clone --quiet --branch=gh-pages https://${GITHUBTOKEN}@github.com/thephpleague/oauth2-server.git gh-pages > /dev/null | ||
- cd gh-pages | ||
- mkdir ${TRAVIS_BRANCH} | ||
- cd ${TRAVIS_BRANCH} | ||
- cp -Rf $HOME/coverage/* . | ||
- git add -f . | ||
- git commit -m "Travis pushed coverage of ${TRAVIS_COMMIT}@${TRAVIS_BRANCH} to gh-pages" | ||
- git push -fq origin gh-pages > /dev/null | ||
branches: | ||
only: | ||
- master | ||
env: | ||
global: | ||
secure: "C4wD/BQefKSu9W594iyLp+IBCjlM8kKlmp+nXKXnZGi0L8IkV3m4mmNOb8PExxGMhZ3mlev5DnU4Uoh4oJaUxnkR1FpX4dSEpyzU3VknUzSE2yZOlL+bdCw3o85TGoCcp/+ReJCOw5sncxTskJKHlW1YMa33FznaXwLNoImpjTg=" | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/7de0ca12596cd5268f30 | ||
on_success: always # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: false # default: false | ||
- phpunit --coverage-text --verbose --coverage-clover=coverage.clover --coverage-html coverage |