File tree Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Expand file tree Collapse file tree 3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 1
1
/composer.phar
2
2
/composer.lock
3
+ /box.phar
3
4
/vendor
4
5
/build
6
+ /schema.phar
Original file line number Diff line number Diff line change @@ -13,15 +13,27 @@ matrix:
13
13
- php : ' 5.5'
14
14
- php : ' 5.6'
15
15
- php : ' 7.0'
16
- - php : hhvm
16
+ - php : ' hhvm'
17
17
18
18
before_install :
19
19
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi;
20
- - composer self-update
20
+ - if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then curl -LSs https://box-project.github.io/box2/installer.php | php; fi;
21
21
22
22
install :
23
23
- composer update --no-interaction --prefer-dist
24
+ - if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then php box.phar build; fi;
24
25
25
26
script :
26
27
- phpunit
27
28
- tests/run-tests.sh
29
+
30
+ deploy :
31
+ provider : releases
32
+ api_key :
33
+ secure : Oq9TAPQZqnjxhbprWZQE64GhK4vxBHjvcMkS9dkbkCJQVz8cSqGxZOFqMOHulraFs2IX9PLeplrZReFMT630KkMNf74mkTtL9WMuaMJV0bbUPY+X7YpDGlLNNU7OA9Rxjr3y68x1jVxD6mLSlCFZP00qvmYRlOE1i2ltjO7L5Sw=
34
+ file : schema.phar
35
+ skip_cleanup : true
36
+ on :
37
+ tags : true
38
+ repo : api-platform/schema-generator
39
+ php : ' 5.6'
Original file line number Diff line number Diff line change
1
+ {
2
+ "directories" : [" src/" ],
3
+ "finder" : [
4
+ {
5
+ "name" : " *.php" ,
6
+ "exclude" : [
7
+ " .gitignore" ,
8
+ " .md" ,
9
+ " phpunit" ,
10
+ " Tester" ,
11
+ " Tests" ,
12
+ " tests"
13
+ ],
14
+ "in" : " vendor"
15
+ }
16
+ ],
17
+ "compactors" : [
18
+ " Herrera\\ Box\\ Compactor\\ Json" ,
19
+ " Herrera\\ Box\\ Compactor\\ Php"
20
+ ],
21
+ "git-version" : " package_version" ,
22
+ "main" : " bin/schema" ,
23
+ "output" : " schema.phar" ,
24
+ "stub" : true ,
25
+ "chmod" : " 0755"
26
+ }
You can’t perform that action at this time.
0 commit comments