Skip to content

Instantly share code, notes, and snippets.

@driesvints
Last active September 5, 2018 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save driesvints/9c729436cac8f0394d696c1efa99e86a to your computer and use it in GitHub Desktop.
Save driesvints/9c729436cac8f0394d696c1efa99e86a to your computer and use it in GitHub Desktop.
Put this in a `.circleci` directory
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