用PHP编写的EnPHP解码器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

27 lines
427 B

language: php
php:
- '7.2'
install:
- composer install
script:
- php tests/test.php
before_deploy:
- mkdir dist/
- cp bin dist/ -R
- cp src dist/ -R
- cp vendor dist/ -R
- cp LICENSE dist/
- cp README.md dist/
- zip php-enphp-decoder-${TRAVIS_TAG}.zip -r dist
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file: "php-enphp-decoder-${TRAVIS_TAG}.zip"
skip_cleanup: true
on:
tags: true