Skip to content

Commit 871f2b1

Browse files
committed
Merge branch 'develop'
2 parents 2eae224 + 27336b3 commit 871f2b1

4 files changed

Lines changed: 104 additions & 115 deletions

File tree

.drone.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,19 @@ pipeline:
44
lock_file: composer.lock
55

66
install:
7-
image: fpfis/php71-dev
7+
image: phpdrone/composer:php56-latest
88
commands:
99
- composer install --ansi
1010

1111
phpcs:
12-
image: fpfis/php71-dev
12+
image: phpdrone/composer:php56-latest
1313
commands:
1414
- ./vendor/bin/phpcs
1515

16-
build-dev:
17-
image: fpfis/php71-dev
18-
commands:
19-
- ./vendor/bin/phar-composer --ansi build . ghcli-dev.phar
20-
when:
21-
event: push
22-
23-
build-release:
24-
image: fpfis/php71-dev
25-
commands:
26-
- wget https://github.com/clue/phar-composer/releases/download/v1.0.0/phar-composer.phar -O /tmp/phar-composer
27-
- composer install --ansi --no-dev
28-
- php /tmp/phar-composer --ansi build . ghcli.phar
29-
when:
30-
event: tag
31-
16+
build-phar:
17+
image: phpdrone/phar-composer
18+
output: ghcli.phar
19+
3220
github_release:
3321
image: plugins/github-release
3422
secrets: [ github_token ]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Github PHP CLI client",
44
"type": "project",
55
"require": {
6-
"symfony/console": "~2.7",
6+
"symfony/console": "~2|~3",
77
"knplabs/github-api": "^2.5",
88
"php-http/guzzle6-adapter": "^1.1"
99
},

0 commit comments

Comments
 (0)