From 8307a48531edc100addafd46ceb0fdfd7cbc50a0 Mon Sep 17 00:00:00 2001 From: Alexander Zamponi Date: Sun, 22 Nov 2020 19:12:57 +0100 Subject: [PATCH] fixing travis file added badges --- .travis.yml | 9 +++------ README.md | 3 +++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d2b529..c9d4be1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,8 @@ cache: env: global: - - COMPOSER_PROCESS_TIMEOUT=600 - COMPOSER_ARGS="--no-interaction" - COVERAGE_DEPS="php-coveralls/php-coveralls" - - LOWEST_DEPS_REMOVE="" - - LATEST_DEPS_REQUIRE="" matrix: fast_finish: true @@ -40,12 +37,12 @@ matrix: before_install: - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi - - if [[ $DEPS == 'lowest' ]]; then travis_retry composer remove $COMPOSER_ARGS --no-update --dev $LOWEST_DEPS_REMOVE ; fi - - if [[ $DEPS == 'latest' ]]; then travis_retry composer require $COMPOSER_ARGS --no-update --dev $LATEST_DEPS_REQUIRE ; fi install: - - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update $COMPOSER_ARGS --prefer-lowest ; fi + - travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs + - if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi + - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi - stty cols 120 && composer show diff --git a/README.md b/README.md index 8407cc2..401854b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,11 @@ > ## This is work in progress. This repo will eventually host a Laminas migrated version of ZfcUserDoctrineORM + LmcUserDoctrineORM ================== +[![Build Status](https://travis-ci.com/LM-Commons/LmcUserDoctrineORM.svg?branch=master)](https://travis-ci.com/LM-Commons/LmcUserDoctrineORM ) +[![Coverage Status](https://coveralls.io/repos/github/LM-Commons/LmcUserDoctrineORM/badge.svg?branch=master)](https://coveralls.io/github/LM-Commons/LmcUserDoctrineORM?branch=master) Based on ZfcUserDoctrineORM by Kyle Spraggs and the ZF-Commons team Introduction