File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
- services :
3
- - docker
4
2
5
3
matrix :
6
4
include :
7
5
- php : 7.0
6
+ env :
7
+ # Test commited lock file
8
+ - COMPOSER_LOCK=true
8
9
- php : 7.1
9
10
env :
11
+ # Test code standard
10
12
- STATIC_ANALYSIS=true
13
+ # Test with updated dependencies
11
14
- php : 7.2
12
15
- php : 7.3
13
16
- php : 7.4
14
17
fast_finish : true
15
18
16
19
install :
17
- - make setup
18
- - composer install
20
+ - |
21
+ if [[ $COMPOSER_LOCK = true ]]; then
22
+ composer install
23
+ else
24
+ composer update
25
+ fi
26
+ - composer $COMPOSER
19
27
# coding style
20
28
- if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard:v2.5.12 temp/ecs; fi
21
29
22
30
script :
23
- - ./tools /phpunit --coverage-clover=coverage.xml -v
31
+ - vendor/bin /phpunit --coverage-clover=coverage.xml -v
24
32
# coding style
25
33
- if [[ $STATIC_ANALYSIS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
26
34
@@ -29,6 +37,8 @@ after_script:
29
37
- php coveralls.phar --verbose;
30
38
31
39
notifications :
40
+ irc : " irc.freenode.org#phpdocumentor"
32
41
email :
33
- - me@mikevanriel .com
42
+ - mike.vanriel@naenius .com
34
43
44
+
You can’t perform that action at this time.
0 commit comments