This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 12
12
- 5.6
13
13
14
14
before_install :
15
- - composer self-update
16
15
- if [[ "$TRAVIS_PHP_VERSION" != "5.3" && "$TRAVIS_PHP_VERSION" != "5.3.3" ]]; then composer require --no-update guzzlehttp/guzzle:~4; fi
17
- - composer install --prefer-source
18
- - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
19
16
20
- script :
21
- - phpunit -c ./tests/ --coverage-text
22
- - output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
17
+ install : make install
18
+
19
+ script : make test
23
20
24
21
notifications :
25
22
irc : " irc.freenode.org#zftalk.dev"
Original file line number Diff line number Diff line change
1
+ install :
2
+ ifdef TRAVIS_PHP_VERSION
3
+ composer self-update
4
+ composer install --prefer-source
5
+ else
6
+ test -s ./composer.phar || { curl -sS https://getcomposer.org/installer | php }
7
+ ./composer.phar install --prefer-source
8
+ endif
9
+
10
+ test :
11
+ phpunit -c ./tests/ --coverage-text
12
+ output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 . ) ; if [[ $output ]]; then while read -r line; do echo -e " \e[00;31m$line \e[00m" ; done <<< " $output" ; false ; fi ;
You can’t perform that action at this time.
0 commit comments