File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,30 +5,52 @@ matrix:
55 fast_finish : true
66 include :
77 - php : " 5.6"
8- env : USE_PSALM=0
8+ env :
9+ - USE_PSALM=0
10+ - BUILD_PHAR=0
911 - php : " 7.0"
10- env : USE_PSALM=0
12+ env :
13+ - USE_PSALM=0
14+ - BUILD_PHAR=0
1115 - php : " 7.1"
12- env : USE_PSALM=0
16+ env :
17+ - USE_PSALM=0
18+ - BUILD_PHAR=0
1319 - php : " 7.2"
14- env : USE_PSALM=0
20+ env :
21+ - USE_PSALM=0
22+ - BUILD_PHAR=0
1523 - php : " 7.3"
16- env : USE_PSALM=0
24+ env :
25+ - USE_PSALM=0
26+ - BUILD_PHAR=0
1727 - php : " 7.4"
18- env : USE_PSALM=1
28+ env :
29+ - USE_PSALM=1
30+ - BUILD_PHAR=0
1931 - php : " 8.0"
2032 # psalm currently doesn't like our \[#SensitiveParameter]s
21- env : USE_PSALM=0
33+ env :
34+ - USE_PSALM=0
35+ - BUILD_PHAR=0
2236 - php : " 8.1"
2337 # psalm currently doesn't like our \[#SensitiveParameter]s
24- env : USE_PSALM=0
38+ env :
39+ - USE_PSALM=0
40+ - BUILD_PHAR=1
2541 - php : " 8.2"
26- env : USE_PSALM=1
42+ env :
43+ - USE_PSALM=1
44+ - BUILD_PHAR=1
2745 dist : focal
2846 - php : " nightly"
29- env : USE_PSALM=1
47+ env :
48+ - USE_PSALM=1
49+ - BUILD_PHAR=1
3050 - php : " hhvm"
31- env : USE_PSALM=1
51+ env :
52+ - USE_PSALM=1
53+ - BUILD_PHAR=1
3254 allow_failures :
3355 - php : " nightly"
3456 - php : " hhvm"
@@ -42,13 +64,13 @@ before_script:
4264 - phpenv config-add extra_php_config.ini
4365script :
4466 - ./test.sh
45- - mkdir /tmp/box
46- - chmod 755 /tmp/box
47- - curl -LSs https://github.com/box-project/box/releases/download/4.3.8/box.phar -o /tmp/box/box
48- - chmod 755 /tmp/box/box
49- - PATH="$PATH:/tmp/box/" which box
50- - PATH="$PATH:/tmp/box/" make -C dist/ build-phar
51- - ./test.sh dist/phar-testing-autoload.php
67+ - if [[ $BUILD_PHAR -eq 1 ]]; then mkdir /tmp/box; fi
68+ - if [[ $BUILD_PHAR -eq 1 ]]; then chmod 755 /tmp/box; fi
69+ - if [[ $BUILD_PHAR -eq 1 ]]; then curl -LSs https://github.com/box-project/box/releases/download/4.3.8/box.phar -o /tmp/box/box; fi
70+ - if [[ $BUILD_PHAR -eq 1 ]]; then chmod 755 /tmp/box/box; fi
71+ - if [[ $BUILD_PHAR -eq 1 ]]; then PATH="$PATH:/tmp/box/" which box; fi
72+ - if [[ $BUILD_PHAR -eq 1 ]]; then PATH="$PATH:/tmp/box/" make -C dist/ build-phar; fi
73+ - if [[ $BUILD_PHAR -eq 1 ]]; then ./test.sh dist/phar-testing-autoload.php; fi
5274 - if [[ $USE_PSALM -eq 1 ]]; then composer require --with-all-dependencies --dev "vimeo/psalm:dev-master"; fi
5375 - if [[ $USE_PSALM -eq 1 ]]; then composer install; fi
5476 - if [[ $USE_PSALM -eq 1 ]]; then vendor/bin/psalm; fi
You can’t perform that action at this time.
0 commit comments