File tree Expand file tree Collapse file tree 2 files changed +22
-12
lines changed
Expand file tree Collapse file tree 2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 11language : php
22
3- before_install :
4- - sudo apt-get -qq update
5- - sudo apt-get install -y qrencode
6- - pear config-set preferred_state beta
7- - printf "\n" | pecl install imagick
8- - echo "extension=imagick.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
9- - php -m
10-
113branches :
124 only :
135 - master
1911 - ' 7.0'
2012 - hhvm
2113
22- install :
23- - composer install
24-
2514matrix :
2615 allow_failures :
2716 - php : hhvm
2817 - php : ' 5.3'
18+
19+ before_install :
20+ - sudo apt-get -qq update
21+ - sudo apt-get install -y qrencode
22+ - pear config-set preferred_state beta
23+ - printf "\n" | pecl install imagick
24+ - echo "extension=imagick.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
25+ - php -m
26+
27+ install :
28+ - composer install
29+
30+ before_script :
31+ - mkdir -p build/logs
32+
33+ script :
34+ - phpunit --coverage-clover build/logs/clover.xml
35+
36+ after_success :
37+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "5.3" ]; then CODECLIMATE_REPO_TOKEN=fa42f567b7666793956a507e50d3a8b9bb833a9a1183cb543bedd2ea5cafb8be ./vendor/bin/test-reporter; fi;'
Original file line number Diff line number Diff line change 3333 "ext-imagick" : " *"
3434 },
3535 "require-dev" : {
36- "phpunit/phpunit" : " ~4.8"
36+ "phpunit/phpunit" : " ~4.8" ,
37+ "codeclimate/php-test-reporter" : " dev-master"
3738 }
3839}
You can’t perform that action at this time.
0 commit comments