Skip to content

Commit

Permalink
Merge branch 'switch-distros'
Browse files Browse the repository at this point in the history
  • Loading branch information
mindplay-dk committed Nov 28, 2022
2 parents cf5503a + 9740867 commit f762bda
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f762bda

Please sign in to comment.