Last active
August 29, 2015 14:03
-
-
Save LukasReschke/096658380fe3a9815aa7 to your computer and use it in GitHub Desktop.
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
language: php | |
php: | |
- 5.3 | |
- 5.4 | |
- 5.5 | |
- 5.6 | |
env: | |
global: | |
- CORE_BRANCH=master | |
- CI_HOME=`pwd` | |
matrix: | |
- DB=sqlite | |
- DB=mysql | |
- DB=pgsql | |
- DB=oracle | |
before_install: | |
- wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh | |
- bash ./before_install.sh YourAppName $CORE_BRANCH $DB | |
script: | |
# execute unit tests | |
- cd ../core/apps/YourAppName/tests; phpunit --configuration phpunit.xml | |
# push code coverage to scrutinizer-ci | |
- wget https://scrutinizer-ci.com/ocular.phar | |
- php ocular.phar code-coverage:upload --format=php-clover clover.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment