From 0d6f3372cc73b91cca445dc7a9f2637d83648a62 Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Sat, 17 Mar 2018 23:41:21 -0400 Subject: [PATCH] Add Travis CI file --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f7d9851 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: php + +sudo: false + +cache: + directories: + - $HOME/.composer/ + +# Run tests against all these PHP versions +php: + - 5.4 + - 5.5 + - 5.6 + - 7.0 + - 7.1 + - 7.2 + - hhvm + +before_script: + - composer install --prefer-dist + +script: + - vendor/bin/phpunit --coverage-clover=coverage.clover + +# Uncomment out to submit code coverage report to scrutinizer +#after_script: +# - wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover + +notifications: + email: false