From ccc553a21264926af9de42fc92cc2cef41cdca94 Mon Sep 17 00:00:00 2001 From: Tim Younger Date: Fri, 16 Dec 2016 12:27:09 -0700 Subject: [PATCH] add travis config to test PHP versions 5.5 to 7.1. each PHP version is tested with the minimum and maximum dependency versions which provides some certainty that our dependency ranges in the composer config are valid. --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..50703ad51 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: php +php: + - 5.5 + - 5.6 + - 7.0 + - 7.1 +env: + - COMPOSER_OPTS="" + - COMPOSER_OPTS="--prefer-lowest" +before_script: + - composer self-update + - composer update --no-interaction $COMPOSER_OPTS +script: + - vendor/bin/phpunit tests --coverage-text