File tree Expand file tree Collapse file tree 1 file changed +32
-18
lines changed Expand file tree Collapse file tree 1 file changed +32
-18
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
- php :
4
- - " 7.1"
5
- - " 7.2"
6
-
7
- env :
8
- matrix :
9
- - PREFER_LOWEST=""
10
- - PREFER_LOWEST="--prefer-lowest"
11
-
12
- before_script :
13
- - composer update --no-interaction $PREFER_LOWEST
14
-
15
- script :
16
- - vendor/bin/phpunit
17
- - composer phpstan
18
-
19
- after_script :
20
- - php vendor/bin/coveralls -v
3
+ cache :
4
+ directories :
5
+ - $HOME/.composer/cache
6
+ - .php_cs
7
+ jobs :
8
+ include :
9
+ - stage : test
10
+ php : 7.2
11
+ env : PREFER_LOWEST=""
12
+ before_script :
13
+ - &composerupdate
14
+ composer update --prefer-dist $PREFER_LOWEST
15
+ script :
16
+ - &phpunit
17
+ " ./vendor/bin/phpunit"
18
+ - composer phpstan
19
+ after_script :
20
+ - ./vendor/bin/coveralls -v
21
+ - stage : test
22
+ php : 7.2
23
+ env : PREFER_LOWEST="--prefer-lowest"
24
+ before_script :
25
+ - *composerupdate
26
+ script :
27
+ - *phpunit
28
+ - stage : test
29
+ php : 7.1
30
+ env : PREFER_LOWEST=""
31
+ before_script :
32
+ - *composerupdate
33
+ script :
34
+ - *phpunit
You can’t perform that action at this time.
0 commit comments