File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff line change 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 },
You can’t perform that action at this time.
0 commit comments