This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ services:
4
4
- redis-server
5
5
- rabbitmq
6
6
7
+ sudo : false
8
+
9
+ cache :
10
+ directories :
11
+ - $HOME/.composer/cache
12
+
7
13
php :
8
14
- 5.3
9
15
- 5.3.3
12
18
- 5.6
13
19
14
20
before_install :
21
+ - composer self-update
15
22
- phpenv config-rm xdebug.ini
16
23
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" && "$TRAVIS_PHP_VERSION" != "5.3.3" ]]; then composer require --no-update guzzlehttp/guzzle:~4; fi
24
+ - if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then composer require --no-update fabpot/php-cs-fixer:1.9.*; fi
17
25
18
- install : make install
26
+ install : composer update $COMPOSER_FLAGS --prefer-dist
19
27
20
- script : php --version && make test
28
+ script :
29
+ - ./vendor/bin/phpunit -c ./tests/ --coverage-text
30
+ - if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then ./vendor/bin/php-cs-fixer fix -v --dry-run --level=psr2 .; fi
21
31
22
32
notifications :
23
33
irc : " irc.freenode.org#zftalk.dev"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 25
25
"guzzle/plugin-mock" : " 3.*" ,
26
26
"videlalvaro/php-amqplib" : " 2.*" ,
27
27
"predis/predis" : " 0.8.*" ,
28
- "phpunit/phpunit" : " 4.7.*" ,
29
- "fabpot/php-cs-fixer" : " 1.9.*"
28
+ "phpunit/phpunit" : " 4.7.*"
30
29
},
31
30
"suggest" : {
32
31
"ext-bcmath" : " Required by Check\\ CpuPerformance" ,
You can’t perform that action at this time.
0 commit comments