From 0cebbbb627138bbadacf23f3aa3a35897baf6c41 Mon Sep 17 00:00:00 2001 From: arnaud-23 Date: Wed, 8 Oct 2014 16:59:59 +0200 Subject: [PATCH 1/2] install travis --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5381099 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: php +php: + - "5.5" + - "5.4" + From 6526edb8b3ae8d528b049a398e568c89d77af92e Mon Sep 17 00:00:00 2001 From: arnaud-23 Date: Fri, 20 May 2016 18:05:01 +0200 Subject: [PATCH 2/2] install travis --- .travis.yml | 31 ++++++++++++++++++++++++++++--- tests/travis.ini | 1 + 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 tests/travis.ini diff --git a/.travis.yml b/.travis.yml index 5381099..ff3cb55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,30 @@ language: php -php: - - "5.5" - - "5.4" +sudo: false + +matrix: + include: + - php: 5.6 + fast_finish: true + +cache: + directories: + - vendor/ + +before_install: + - phpenv config-add ./tests/travis.ini + - composer self-update + - composer config github-oauth.github.com $GITHUB_TOKEN + - composer install --no-scripts --no-interaction + - composer dump-autoload -o + +before_cache: + - php bin/coveralls -v + - rm -rf build/ + - rm vendor/autoload.php + - rm -rf vendor/composer + +script: + - phpunit -d memory_limit=1G + - mkdir -p build/cov + - bin/phpunit --testsuite oc-cover --coverage-clover build/logs/clover.xml diff --git a/tests/travis.ini b/tests/travis.ini new file mode 100644 index 0000000..abe8f0b --- /dev/null +++ b/tests/travis.ini @@ -0,0 +1 @@ +date.timezone = "Europe/Paris"