Skip to content

Commit

Permalink
Use Circle CI 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislefebvre committed Aug 31, 2018
1 parent 89a6cff commit 189181e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,27 @@
version: 2

jobs:
build:
docker:
- image: circleci/php:7.1-fpm-node-browsers
steps:
- checkout
- run: composer require "symfony/symfony:3.4.*" --no-update
- restore_cache:
keys:
- composer-v1-{{ .Branch }}
# fallback to using the latest cache if no exact match is found
- composer-v1-
- run: composer install --no-interaction --profile --no-progress
- run: php ./vendor/bin/phpspec run --format=pretty
- run: mkdir -p ~/phpunit
- run: php ./vendor/bin/phpunit --log-junit ~/phpunit/junit.xml tests
- run: php ./vendor/bin/behat
- store_test_results:
path: ~/phpunit
- store_artifacts:
path: ~/phpunit
- save_cache:
key: composer-v1-{{ .Branch }}
paths:
- ~/.composer/cache
22 changes: 0 additions & 22 deletions circle.yml

This file was deleted.

0 comments on commit 189181e

Please sign in to comment.