2
2
3
3
echo " PHP version: $TRAVIS_PHP_VERSION "
4
4
5
- if [[ " $TRAVIS_PHP_VERSION " == " 5.6" ]] ; then
6
- wget " https://phar.phpunit.de/phpunit-5.7.phar"
7
- mv phpunit-5.7.phar ./phpunit
8
- fi
9
-
10
- if [[ " $TRAVIS_PHP_VERSION " == " 7.0" ]] ; then
11
- wget " https://phar.phpunit.de/phpunit-6.0.phar"
12
- mv phpunit-6.0.phar ./phpunit
13
- fi
14
-
15
- if [[ " $TRAVIS_PHP_VERSION " == " 7.1" ]] ; then
16
- wget " https://phar.phpunit.de/phpunit-6.0.phar"
17
- mv phpunit-6.0.phar ./phpunit
18
- fi
19
-
20
- if [[ " $TRAVIS_PHP_VERSION " == " 7.2" ]] ; then
21
- wget " https://phar.phpunit.de/phpunit-6.0.phar"
22
- mv phpunit-6.0.phar ./phpunit
23
- fi
24
-
25
- if [[ " $TRAVIS_PHP_VERSION " == " 7.3" ]] ; then
26
- wget " https://phar.phpunit.de/phpunit-6.0.phar"
27
- mv phpunit-6.0.phar ./phpunit
28
- fi
29
-
30
5
if [[ " $TRAVIS_PHP_VERSION " == " 7.4" ]] ; then
31
- wget " https://phar.phpunit.de/phpunit-6.0 .phar"
6
+ wget " https://phar.phpunit.de/phpunit-9.5 .phar"
32
7
mv phpunit-6.0.phar ./phpunit
33
8
fi
34
9
@@ -37,16 +12,6 @@ wget "https://phar.phpunit.de/phpunit-9.5.phar"
37
12
mv phpunit-9.5.phar ./phpunit
38
13
fi
39
14
40
- if [[ " $TRAVIS_PHP_VERSION " == " hhvm" ]] ; then
41
- wget " https://phar.phpunit.de/phpunit-6.0.phar"
42
- mv phpunit-6.0.phar ./phpunit
43
- fi
44
-
45
- if [[ " $TRAVIS_PHP_VERSION " == " hhvm-3.18" ]] ; then
46
- wget " https://phar.phpunit.de/phpunit-5.7.phar"
47
- mv phpunit-5.7.phar ./phpunit
48
- fi
49
-
50
15
chmod +x ./phpunit
51
16
52
17
echo " ./phpunit --version"
0 commit comments