Skip to content

Commit 31e733f

Browse files
committed
Update travis to use phive
1 parent 149120e commit 31e733f

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.travis.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,26 @@
11
language: php
2+
services:
3+
- docker
24

35
matrix:
46
include:
57
- php: 7.0
6-
env:
7-
# Test commited lock file
8-
- COMPOSER_LOCK=true
98
- php: 7.1
109
env:
11-
# Test code standard
1210
- STATIC_ANALYSIS=true
13-
# Test with updated dependencies
1411
- php: 7.2
1512
- php: 7.3
1613
- php: 7.4
1714
fast_finish: true
1815

1916
install:
20-
- |
21-
if [[ $COMPOSER_LOCK = true ]]; then
22-
composer install
23-
else
24-
composer update
25-
fi
26-
- composer $COMPOSER
17+
- make setup
18+
- composer install
2719
# coding style
2820
- if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard:v2.5.12 temp/ecs; fi
2921

3022
script:
31-
- vendor/bin/phpunit --coverage-clover=coverage.xml -v
23+
- ./tools/phpunit --coverage-clover=coverage.xml -v
3224
# coding style
3325
- if [[ $STATIC_ANALYSIS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
3426

@@ -37,8 +29,6 @@ after_script:
3729
- php coveralls.phar --verbose;
3830

3931
notifications:
40-
irc: "irc.freenode.org#phpdocumentor"
4132
email:
42-
- mike.vanriel@naenius.com
33+
- me@mikevanriel.com
4334
44-

0 commit comments

Comments
 (0)