Skip to content

Commit 5166dd6

Browse files
committed
Cleanup CI
1 parent 31cfb43 commit 5166dd6

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
*.bak
55
.idea/
66
coverage.clover
7+
composer.lock
8+
vendor/

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
language: php
22

33
php:
4-
- 5.3
4+
php:
55
- 5.4
66
- 5.5
77
- 5.6
88
- 7.0
99
- 7.1
10-
- hhvm
10+
- 7.2
11+
- nightly
12+
13+
install:
14+
- composer install
1115

1216
script:
13-
- phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.clover
17+
- vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.clover
1418

1519
after_script:
16-
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
17-
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
20+
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
21+
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
1822

1923
matrix:
24+
include:
25+
- php: 5.3
26+
dist: precise
2027
allow_failures:
21-
- php: 7.1
22-
- php: hhvm
28+
- php: nightly

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
}
1919
],
2020
"require": {
21-
"php": ">=5.3.0"
21+
"php": ">=5.3.0",
22+
"smarty/smarty": "^3.1"
23+
},
24+
"require-dev": {
25+
"phpunit/phpunit": "4.8.*|5.*"
2226
},
2327
"autoload": {
2428
"psr-4": {

0 commit comments

Comments
 (0)