diff --git a/.travis.yaml b/.travis.yaml new file mode 100644 index 0000000..55c1817 --- /dev/null +++ b/.travis.yaml @@ -0,0 +1,30 @@ +language: php + +env: + global: + - SETUP=stable + +matrix: + fast_finish: true + include: + - php: 7.2 + - php: 7.2 + env: SETUP=lowest + - php: 7.3 + - php: 7.3 + env: SETUP=lowest + +cache: + directories: + - $HOME/.composer/cache + +before_install: + - phpenv config-rm xdebug.ini || true + - travis_retry composer self-update + +install: + - if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi + - if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi + - composer show -D + +script: vendor/bin/phpunit