.travis.yml (1321B)
1 #Test php5.6 and php7.0 2 language: php 3 php: 4 - 5.6 5 - 7.0 6 - hhvm 7 #Allow errors in php7 8 matrix: 9 allow_failures: 10 - php: 7.0 11 - php: hhvm 12 before_script: 13 - wget https://phar.phpunit.de/phpunit.phar 14 - chmod +x phpunit.phar 15 - sudo apt-get update -qq 16 - sudo apt-get install -y -qq libssh2-1-dev libssh2-php 17 - pecl install -f ssh2-beta < libs/php-ssh/.noninteractive 18 - php -m | grep ssh2 19 - cd libs/php-ssh 20 - composer self-update 21 - composer install --dev 22 - composer require codeclimate/php-test-reporter --dev 23 - cd ../.. 24 - echo `whoami`":1234" | sudo chpasswd 25 #RunTests 26 script: 27 - php phpunit.phar --configuration phpunit.xml --verbose --coverage-text --coverage-clover build/logs/clover.xml 28 - php phpunit.phar --configuration phpunit.xml --verbose --group functional --coverage-clover build/logs/clover.xml 29 after_script: 30 - vendor/bin/test-reporter 31 #Webhook for Gitter 32 notifications: 33 webhooks: 34 urls: 35 - https://webhooks.gitter.im/e/5eacb5c124fcb31d1531 36 on_success: change # options: [always|never|change] default: always 37 on_failure: always # options: [always|never|change] default: always 38 on_start: never # options: [always|never|change] default: always 39 addons: 40 code_climate: 41 repo_token: b320ccea0e007bc76effe2fceaf28df4bc9fcc61759c95b47d489b6e3c8766fc