Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
gboddin committed May 3, 2018
2 parents 2eae224 + 27336b3 commit 871f2b1
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 115 deletions.
24 changes: 6 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,19 @@ pipeline:
lock_file: composer.lock

install:
image: fpfis/php71-dev
image: phpdrone/composer:php56-latest
commands:
- composer install --ansi

phpcs:
image: fpfis/php71-dev
image: phpdrone/composer:php56-latest
commands:
- ./vendor/bin/phpcs

build-dev:
image: fpfis/php71-dev
commands:
- ./vendor/bin/phar-composer --ansi build . ghcli-dev.phar
when:
event: push

build-release:
image: fpfis/php71-dev
commands:
- wget https://github.com/clue/phar-composer/releases/download/v1.0.0/phar-composer.phar -O /tmp/phar-composer
- composer install --ansi --no-dev
- php /tmp/phar-composer --ansi build . ghcli.phar
when:
event: tag

build-phar:
image: phpdrone/phar-composer
output: ghcli.phar

github_release:
image: plugins/github-release
secrets: [ github_token ]
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Github PHP CLI client",
"type": "project",
"require": {
"symfony/console": "~2.7",
"symfony/console": "~2|~3",
"knplabs/github-api": "^2.5",
"php-http/guzzle6-adapter": "^1.1"
},
Expand Down
Loading

0 comments on commit 871f2b1

Please sign in to comment.