forked from pdepend/pdepend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 1.29 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: php
#php:
# - 5.3
# - 5.4
# - 5.5
# - 5.6
# - 7.0
# - hhvm
# - hhvm-nightly
matrix:
include:
- php: 5.3
env: DEPENDENCIES=low
- php: 5.4
env: DEPENDENCIES=low
- php: 5.5
- php: 5.6
- php: 7.0
- php: hhvm
# - php: hhvm-nightly
fast_finish: true
sudo: false
env:
global:
TEST_CONFIG="phpunit.xml.dist"
before_script:
- composer self-update
- if [ $DEPENDENCIES = low ] ; then composer update --prefer-dist --prefer-lowest --prefer-stable ; fi
- if [ ! $DEPENDENCIES ] ; then composer update --prefer-dist ; fi
- composer install
script:
- if [ $TRAVIS_PHP_VERSION != 7.0 ]; then vendor/phpunit/phpunit/phpunit --configuration $TEST_CONFIG --colors ; fi
- if [ $TRAVIS_PHP_VERSION = 7.0 ]; then vendor/phpunit/phpunit/phpunit --configuration $TEST_CONFIG --colors --coverage-text ; fi
# - if [ $TRAVIS_PHP_VERSION != 5.6 ] && [ $TRAVIS_PHP_VERSION != 7.0 ]; then vendor/phpunit/phpunit/phpunit --configuration $TEST_CONFIG --colors ; fi
# - if [ $TRAVIS_PHP_VERSION = 5.6 ] || [ $TRAVIS_PHP_VERSION = 7.0 ]; then vendor/phpunit/phpunit/phpunit --configuration $TEST_CONFIG --colors --coverage-text ; fi
notifications:
irc: "irc.freenode.org#pdepend"