diff --git a/.travis.yml b/.travis.yml index b85230e..8bb74fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,17 @@ +os: linux +dist: bionic language: php -php: - - 5.5 - - 5.6 - - 7.0 - - 7.1 - - 7.2 - - 7.3 +jobs: + include: + - php: 7.3 + - php: 7.4 + - php: 8.0 + env: + - XDEBUG_MODE=coverage + after_script: + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover test/build/clover.xml services: - postgresql @@ -15,16 +20,9 @@ services: addons: postgresql: "9.5" -sudo: required -dist: precise - before_script: - 'composer install --dev --prefer-source' - psql -c 'create database mindplay_sql_test;' -U postgres - mysql -e 'CREATE DATABASE mindplay_sql_test;' script: php test/test.php - -after_script: - - if [ $(phpenv version-name) = "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - - if [ $(phpenv version-name) = "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover test/build/clover.xml; fi diff --git a/README.md b/README.md index 9eea88b..01c6374 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ mindplay/sql Database framework and query builder. -[![PHP Version](https://img.shields.io/badge/php-5.5%2B-blue.svg)](https://packagist.org/packages/mindplay/sql) +[![PHP Version](https://img.shields.io/badge/php-7.3%2B-blue.svg)](https://packagist.org/packages/mindplay/sql) [![Build Status](https://travis-ci.org/mindplay-dk/sql.svg?branch=master)](https://travis-ci.org/mindplay-dk/sql) [![Code Coverage](https://scrutinizer-ci.com/g/mindplay-dk/sql/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/sql/?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mindplay-dk/sql/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/sql/?branch=master)