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 1
1
language : php
2
2
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
-
11
3
branches :
12
4
only :
13
5
- master
19
11
- ' 7.0'
20
12
- hhvm
21
13
22
- install :
23
- - composer install
24
-
25
14
matrix :
26
15
allow_failures :
27
16
- php : hhvm
28
17
- 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 33
33
"ext-imagick" : " *"
34
34
},
35
35
"require-dev" : {
36
- "phpunit/phpunit" : " ~4.8"
36
+ "phpunit/phpunit" : " ~4.8" ,
37
+ "codeclimate/php-test-reporter" : " dev-master"
37
38
}
38
39
}
You can’t perform that action at this time.
0 commit comments