Last active
September 5, 2018 09:29
-
-
Save driesvints/9c729436cac8f0394d696c1efa99e86a to your computer and use it in GitHub Desktop.
Put this in a `.circleci` directory
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
experimental: | |
notify: | |
branches: | |
only: | |
- master | |
version: 2 | |
jobs: | |
php7.1-5.5: | |
docker: | |
- image: circleci/php:7.1 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: | |
name: Update binaries | |
command: | | |
sudo apt-get update | |
sudo apt-get install -y ghostscript | |
sudo docker-php-ext-install imagick | |
- run: composer update --prefer-source | |
- run: composer require league/flysystem-aws-s3-v3 #require laravel specific versions here | |
- run: vendor/bin/phpunit | |
php7.1-5.6: | |
docker: | |
- image: circleci/php:7.1 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: | |
name: Update binaries | |
command: | | |
sudo apt-get update | |
sudo apt-get install -y ghostscript | |
sudo docker-php-ext-install imagick | |
- run: composer update --prefer-source | |
- run: composer require league/flysystem-aws-s3-v3 #require laravel specific versions here | |
- run: vendor/bin/phpunit | |
php7.1-5.7: | |
docker: | |
- image: circleci/php:7.1 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: | |
name: Update binaries | |
command: | | |
sudo apt-get update | |
sudo apt-get install -y ghostscript | |
sudo docker-php-ext-install imagick | |
- run: composer update --prefer-source | |
- run: composer require league/flysystem-aws-s3-v3 #require laravel specific versions here | |
- run: vendor/bin/phpunit | |
php7.2-5.5: | |
docker: | |
- image: circleci/php:7.2 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: | |
name: Update binaries | |
command: | | |
sudo apt-get update | |
sudo apt-get install -y ghostscript | |
sudo docker-php-ext-install imagick | |
- run: composer update --prefer-source | |
- run: composer require league/flysystem-aws-s3-v3 #require laravel specific versions here | |
- run: vendor/bin/phpunit | |
php7.2-5.6: | |
docker: | |
- image: circleci/php:7.2 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: | |
name: Update binaries | |
command: | | |
sudo apt-get update | |
sudo apt-get install -y ghostscript | |
sudo docker-php-ext-install imagick | |
- run: composer update --prefer-source | |
- run: composer require league/flysystem-aws-s3-v3 #require laravel specific versions here | |
- run: vendor/bin/phpunit | |
php7.2-5.7: | |
docker: | |
- image: circleci/php:7.2 | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: | |
name: Update binaries | |
command: | | |
sudo apt-get update | |
sudo apt-get install -y ghostscript | |
sudo docker-php-ext-install imagick | |
- run: composer update --prefer-source | |
- run: composer require league/flysystem-aws-s3-v3 #require laravel specific versions here | |
- run: vendor/bin/phpunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment