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

hack:
  script:
    - hh_client
7 8 9 10 11 12 13 14 15 16

packagist:
  type: deploy
  only:
    - tags
  script:
    - "curl -X POST \
       -H 'content-type:application/json' \
       'https://packagist.org/api/update-package?username=simon_w&apiToken=$PACKAGIST_TOKEN' \
       -d '{\"repository\":{\"url\":\"https://packagist.org/packages/91carriage/phpunit-hhi\"}}'"