Skip to content

Commit 6a33347

Browse files
authored
Merge pull request #4 from legionth/update-travis
Update Travis
2 parents 5de0475 + 099726c commit 6a33347

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.travis.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
language: php
22

33
php:
4-
- 5.3
54
- 5.4
65
- 5.5
76
- 5.6
87
- 7
98

9+
# lock distro so new future defaults will not break the build
10+
dist: trusty
11+
12+
# also test lowest dependencies on PHP 7
13+
matrix:
14+
include:
15+
- php: 5.3
16+
dist: precise
17+
- php: 7.0
18+
env:
19+
- DEPENDENCIES=lowest
20+
1021
sudo: false
1122

1223
install:
1324
- composer install --no-interaction
14-
25+
- if [ "$DEPENDENCIES" = "lowest" ]; then composer update --prefer-lowest -n; fi
26+
1527
script:
16-
- phpunit --coverage-text
28+
- ./vendor/bin/phpunit --coverage-text

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"react/stream": "^0.4 || ^0.3"
1616
},
1717
"require-dev": {
18+
"phpunit/phpunit": "^4.8.10||^5.0",
1819
"react/event-loop": "^0.4 || ^0.3"
1920
}
2021
}

0 commit comments

Comments
 (0)