.gitlab-ci.yml 417 Bytes
Newer Older
Simon Welsh's avatar
Simon Welsh committed
1 2 3 4 5
before_script:
  - "echo 'assume_php=false' > .hhconfig"

hack:
  script:
Simon Welsh's avatar
Simon Welsh committed
6
    - hh_server --check .
7 8 9 10 11 12 13 14

packagist:
  type: deploy
  only:
    - tags
  script:
    - "curl -X POST \
       -H 'content-type:application/json' \
Simon Welsh's avatar
Simon Welsh committed
15 16
       \"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\"}}'"