Slide 14
Slide 14 text
DJSDMFDJDPOpHZNM
version: 2
jobs:
build:
docker:
- image: circleci/php:7.1-apache-browsers
- image: circleci/mysql:5.7
steps:
- checkout
- restore_cache:
keys:
- composer-{{ arch }}—{{ checksum "composer.lock" }}
- run: composer install
- save_cache:
key: composer-{{ arch }}—{{ checksum "composer.lock" }}
paths:
- ~/.composer/cache
- run: ./vendor/bin/phpcs —standard=PSR2 ./app
- run: mkdir ~/phpunit
- run: ./vendor/bin/phpunit --log-junit ~/phpunit/junit.xml
- store_test_results:
path: ~/phpunit
- store_artifacts:
path: ~/phpunit