Commit e421e558 authored by Simon Welsh's avatar Simon Welsh

Switch to using docker for tests

Also bump minimum version to 3.12 since that's the oldest I can test
parent 7cf2db21
Pipeline #173 failed with stages
in 1 minute and 26 seconds
...@@ -11,33 +11,37 @@ cache: ...@@ -11,33 +11,37 @@ cache:
paths: paths:
- vendor/ - vendor/
#hack-min: hack-min:
#script: script:
#- hh_server --check . - hh_server --check .
#stage: typecheck stage: typecheck
#tags: image: hhvm/hhvm:3.12-lts-latest
#- hhvm-3.9 tags:
- docker
hack: hack:
script: script:
- hh_server --check . - hh_server --check .
stage: typecheck stage: typecheck
image: hhvm/hhvm:latest
tags: tags:
- hhvm - docker
#phpunit-min: phpunit-min:
#script: script:
#- hhvm vendor/bin/phpunit --bootstrap tests/HHITest.php tests/ - hhvm vendor/bin/phpunit --bootstrap tests/HHITest.php tests/
#stage: test stage: test
#tags: image: hhvm/hhvm:3.12-lts-latest
#- hhvm-3.9 tags:
- docker
phpunit: phpunit:
script: script:
- hhvm vendor/bin/phpunit --bootstrap tests/HHITest.php tests/ - hhvm vendor/bin/phpunit --bootstrap tests/HHITest.php tests/
stage: test stage: test
image: hhvm/hhvm:latest
tags: tags:
- hhvm - docker
packagist: packagist:
stage: deploy stage: deploy
...@@ -48,3 +52,5 @@ packagist: ...@@ -48,3 +52,5 @@ packagist:
-H 'content-type:application/json' \ -H 'content-type:application/json' \
\"https://packagist.org/api/update-package?username=simon_w&apiToken=$PACKAGIST_TOKEN\" \ \"https://packagist.org/api/update-package?username=simon_w&apiToken=$PACKAGIST_TOKEN\" \
-d '{\"repository\":{\"url\":\"https://git.simon.geek.nz/91-carriage/phpunit-hhi.git\"}}'" -d '{\"repository\":{\"url\":\"https://git.simon.geek.nz/91-carriage/phpunit-hhi.git\"}}'"
tags:
- docker
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"homepage": "https://git.simon.geek.nz/91-carriage/phpunit-hhi", "homepage": "https://git.simon.geek.nz/91-carriage/phpunit-hhi",
"license": ["MIT"], "license": ["MIT"],
"require": { "require": {
"hhvm": ">=3.9.0" "hhvm": ">=3.12.0"
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
......
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