From 11aea7dc089dcf1ecc7aa76621088b5d253d67ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= Date: Tue, 13 Aug 2019 21:52:20 +0200 Subject: [PATCH] [TASK] Add travis integration --- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cb2b65e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +dist: bionic + +language: php +php: + - "7.2" + - "7.3" + - "7.4snapshot" + +sudo: false + +cache: + directories: + - $HOME/.composer/cache + +before_install: + - composer self-update + - composer --version + +before_script: + - composer install + +script: + - find . -name \*.php ! -path "./vendor/*" -exec php -d display_errors=stderr -l {} > /dev/null \; + - vendor/bin/phpunit -c tests/phpunit.xml.dist --log-junit logs/phpunit.xml --coverage-text --coverage-clover logs/clover.xml diff --git a/README.md b/README.md index 8b84fcb..7a13441 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # JobRouter Client +[![Build Status](https://travis-ci.org/brotkrueml/jobrouter-client.svg?branch=master)](https://travis-ci.org/brotkrueml/jobrouter-client) + ## Introduction [JobRouter](https://www.jobrouter.com/) is a scalable digitization platform which links