Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/composer.lock
/composer.phar
/vendor/

Expand Down
18 changes: 14 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ jobs:
name: Disable xdebug
command: ./etc/circleci2/disable-xdebug.sh

- restore_cache:
key: cache-v10-{{ checksum "composer.lock" }}

- run:
name: Composer install
command: composer install --prefer-dist --no-interaction

- save_cache:
key: cache-v10-{{ checksum "composer.lock" }}
paths:
- /var/www/vendor

- run:
name: PHPSpec
command: ./vendor/bin/phpspec run
Expand Down Expand Up @@ -63,6 +71,8 @@ jobs:
workDir: /var/www
steps:
- checkout
- restore_cache:
key: cache-v10-{{ checksum "composer.lock" }}
- run:
name: Composer install
command: composer install --prefer-dist --no-interaction
Expand All @@ -79,6 +89,8 @@ jobs:
workDir: /var/www
steps:
- checkout
- restore_cache:
key: cache-v10-{{ checksum "composer.lock" }}
- run:
name: Composer install
command: composer install --no-interaction
Expand All @@ -89,10 +101,6 @@ jobs:
- run:
name: Ship codecoverage to codecov.io
command: bash <(curl -s https://codecov.io/bash)
- save_cache:
key: cache-v1-{{ checksum "composer.lock" }}
paths:
- /var/www/vendor
- type: artifacts-store
path: build
destination: build
Expand All @@ -103,6 +111,8 @@ jobs:
workDir: /var/www
steps:
- checkout
- restore_cache:
key: cache-v10-{{ checksum "composer.lock" }}
- run:
name: Composer install
command: composer install --no-interaction
Expand Down
Loading