Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 20 additions & 15 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
machine:
php:
version: 7.1.9

dependencies:
cache_directories:
- ~/.composer/cache
pre:
- cp app/config/parameters.yml.dist app/config/parameters.yml
override:
- composer install --no-progress --no-interaction

test:
override:
- ant test:with-coverage
version: 2
jobs:
test:
docker:
- image: circleci/php:7.2
- image: circleci/openjdk:8-jdk # ant only
steps:
- checkout
- run: sudo apt-get install -y ant
- run: cp app/config/parameters.yml.dist app/config/parameters.yml
- run: composer install --no-progress --no-interaction
- run: ant test:with-coverage
- store_artifacts:
path: coverage
prefix: coverage
workflows:
version: 2
test-only:
jobs:
- test