Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / .travis.yml
1 language: php
2
3 php:
4   - 5.3
5   - 5.4
6   - 5.5
7   - 5.6
8
9 env:
10   matrix:
11     - DEPENDENCIES="high"
12     - DEPENDENCIES="low"
13
14 sudo: false
15
16 before_install:
17   - composer self-update
18   - composer clear-cache
19
20 install:
21   - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable; fi
22   - if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable --prefer-lowest; fi
23
24 script:
25   - ./phpunit
26   - ./phpunit --configuration ./build/travis-ci-fail.xml > /dev/null; if [ $? -eq 0 ]; then echo "SHOULD FAIL"; false; else echo "fail checked"; fi;
27   - xmllint --noout --schema phpunit.xsd phpunit.xml
28   - xmllint --noout --schema phpunit.xsd tests/_files/configuration.xml
29   - xmllint --noout --schema phpunit.xsd tests/_files/configuration_empty.xml
30   - xmllint --noout --schema phpunit.xsd tests/_files/configuration_xinclude.xml -xinclude
31
32 notifications:
33   email: false
34