Created
August 21, 2017 17:18
-
-
Save brunocarvalhodearaujo/2ff7c7e639e442f7fb6391422150c5bf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
stages: | |
- test | |
phpunit: | |
stage: test | |
image: php:7.1-cli | |
only: | |
- master | |
script: | |
- apt-get update | |
- apt-get install -y unzip | |
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer | |
- composer self-update | |
- composer install --prefer-dist > /dev/null | |
- php vendor/bin/phpunit --colors --debug --coverage-text |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit colors="true" syntaxCheck="true" verbose="true"> | |
<testsuites> | |
<testsuite name="Composer Test Suite"> | |
<directory>./src/</directory> | |
</testsuite> | |
</testsuites> | |
</phpunit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment