-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
22 lines (17 loc) · 788 Bytes
/
.travis.yml
File metadata and controls
22 lines (17 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: php
php:
- 5.4
- 5.5
- hhvm
before_script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
- composer install
script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/codecept run unit --coverage-xml; fi;'
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/codecept run unit; fi;'
after_script:
- bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.xml; fi;'
notifications:
hipchat:
rooms:
secure: PNjDsKHLvJdZK+6naFMFk9elMicWzJEEs/a8Y1QgKPJY4SLeiV02EM+RmidppDxu2JUpj/QczTLfVkgKM6Ew9jdKjRLLqENctZIqhQzPQvKkSsxDiB2RNV6ahA9SfiWefQeXOsl04frBs7ZT405q9zFTyfldrvXVup1pBlh64lM=