Commit 08c02bb4 authored by Simon Welsh's avatar Simon Welsh

Cache vendor, per branch

parent bf1000b3
Pipeline #235 failed
......@@ -12,6 +12,11 @@ before_script:
- ./tests/composer.sh
- composer install
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- vendor/
hack-min:
script:
- hh_server --check .
......@@ -43,6 +48,8 @@ phpunit-min:
image: hhvm/hhvm:3.24.3
tags:
- docker
cache:
policy: pull
phpunit:
script:
......@@ -51,6 +58,8 @@ phpunit:
image: hhvm/hhvm:latest
tags:
- docker
cache:
policy: pull
phpunit-nightly:
script:
......@@ -59,11 +68,15 @@ phpunit-nightly:
image: hhvm/hhvm:nightly
tags:
- docker
cache:
policy: pull
packagist:
stage: deploy
only:
- tags
before_script:
- true
script:
- "curl -X POST \
-H 'content-type:application/json' \
......@@ -71,3 +84,5 @@ packagist:
-d '{\"repository\":{\"url\":\"https://git.simon.geek.nz/91-carriage/phpunit-hhi.git\"}}'"
tags:
- docker
cache:
policy: pull
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment