From d40d210e4f3d01e399245e328cf961748c503cad Mon Sep 17 00:00:00 2001 From: Todd Mannherz Date: Tue, 11 Dec 2018 10:25:45 -0700 Subject: [PATCH] CircleCI now uses our PHP base image. --- .circleci/config.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a97902d..013d3f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,21 +6,11 @@ version: 2 jobs: build: docker: - # specify the version you desire here - - image: circleci/php:7.1-cli-node-browsers - - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/mysql:9.4 + - image: dailygrommet/php-cli-base working_directory: ~/repo steps: - - run: - name: Install PHP Extensions - command: sudo apt-get update && sudo apt-get install -y libxml2-dev && sudo docker-php-ext-install soap - - checkout # Download and cache dependencies @@ -41,8 +31,8 @@ jobs: - run: name: CodeSniff - command: ./vendor/bin/phpcs --standard=PSR12 ./src + command: composer cs - run: name: PHPUnit - command: ./vendor/bin/phpunit + command: composer test