From 87ed26cc6c0aed5719060f7001337594ec9846e6 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Thu, 8 Dec 2016 12:41:40 +0100 Subject: [PATCH] Set up Travis --- .gitattributes | 3 +++ .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .gitattributes create mode 100644 .travis.yml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fd1bf2d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +/.gitattributes export-ignore +/.gitignore export-ignore +/.travis.yml export-ignore diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2365b32 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +language: php + +php: + - 7.1 + - 7.0 + - 5.6 + +env: + global: + - COMPOSER_OPTIONS="" + +matrix: + include: + - php: 5.6 + env: COMPOSER_OPTIONS="--prefer-lowest" + - php: nightly + allow_failures: + - php: nightly + fast_finish: true + +cache: + directories: + - vendor + +before_install: + - phpenv config-rm xdebug.ini || true + + - composer self-update + +install: + - composer update --prefer-dist $COMPOSER_OPTIONS + +script: + - composer validate --strict