Created
September 17, 2015 19:25
-
-
Save iolson/692d44ba062c53b73bee 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
# Before Script | |
before_script: | |
- composer install --prefer-dist > /dev/null | |
- cp .env.example .env | |
- php artisan key:generate | |
# Variables | |
variables: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: homestead | |
MYSQL_USER: homestead | |
MYSQL_PASSWORD: secret | |
# PHP 5.5 | |
php:5.5: | |
image: bobey/docker-gitlab-ci-runner-php5.5 | |
services: | |
- mysql:latest | |
script: | |
- echo "Running PHPUnit Tests" | |
- php vendor/bin/phpunit --colors --debug --coverage-text | |
# PHP 5.6 | |
php:5.6: | |
image: bobey/docker-gitlab-ci-runner-php5.6 | |
services: | |
- mysql:latest | |
script: | |
- echo "Running PHPUnit Tests" | |
- php vendor/bin/phpunit --colors --debug --coverage-text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment