File tree 4 files changed +47
-2
lines changed
4 files changed +47
-2
lines changed Original file line number Diff line number Diff line change 1
- vendor
2
- infection-log.txt
1
+ /vendor
2
+ /infection-log.txt
3
+ /box.json
4
+ /box.phar
5
+ /dist
Original file line number Diff line number Diff line change @@ -12,6 +12,15 @@ before_script:
12
12
git :
13
13
depth : 99999
14
14
15
+ deploy :
16
+ provider : releases
17
+ api_key :
18
+ secure : $DEPLOY_TOKEN_SECURE
19
+ file : dist/roave-backward-compatibility-check.phar
20
+ skip_cleanup : true
21
+ on :
22
+ tags : true
23
+
15
24
jobs :
16
25
include :
17
26
48
57
php : 7.2
49
58
script : bin/roave-backward-compatibility-check --from=master --to=HEAD
50
59
60
+ - stage : Build release PHAR
61
+ php : 7.2
62
+ script : ./build-phar.sh
63
+
51
64
cache :
52
65
directories :
53
66
- $HOME/.composer/cache
Original file line number Diff line number Diff line change
1
+ {
2
+ "compactors": [
3
+ "Herrera\\Box\\Compactor\\Php",
4
+ "Herrera\\Box\\Compactor\\Json"
5
+ ],
6
+ "compression": "GZ",
7
+ "main": "bin/roave-backward-compatibility-check.php",
8
+ "output": "dist/roave-backward-compatibility-check.phar",
9
+ "files-bin": [
10
+ "LICENSE",
11
+ "vendor/composer/composer/LICENSE"
12
+ ],
13
+ "chmod": "0755",
14
+ "git-version": "git-version"
15
+ }
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ if [ ! -f box.phar ]; then
4
+ wget https://github.com/humbug/box/releases/download/3.0.0-beta.4/box.phar -O box.phar
5
+ fi
6
+
7
+ # lock PHP to minimum allowed version
8
+ composer config platform.php 7.2.0
9
+ composer update --no-dev
10
+
11
+ php box.phar compile
12
+
13
+ git checkout composer.*
14
+ composer install
You can’t perform that action at this time.
0 commit comments