File tree Expand file tree Collapse file tree 3 files changed +40
-4
lines changed
Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 1- . *
2- * .lock
3- vendor
4- phpunit.xml
1+ vendor /
2+ composer.lock
Original file line number Diff line number Diff line change 1+ language : php
2+
3+ php :
4+ - 5.4
5+ - 5.5
6+ - 5.6
7+ - 7.0
8+ - 7.1
9+ - 7.2
10+ - hhvm # ignore errors, see below
11+
12+ # lock distro so new future defaults will not break the build
13+ dist : trusty
14+
15+ matrix :
16+ allow_failures :
17+ - php : hhvm
18+
19+ services :
20+ - mysql
21+
22+ sudo : false
23+
24+ install :
25+ - composer install --no-interaction
26+
27+ before_script :
28+ - mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
29+
30+ script :
31+ - DB_USER=root DB_PASSWD= ./vendor/bin/phpunit --coverage-text
Original file line number Diff line number Diff line change 11# MySQL
22
3+ [ ![ Build Status] ( https://travis-ci.org/friends-of-reactphp/mysql.svg?branch=master )] ( https://travis-ci.org/friends-of-reactphp/mysql )
4+
35Async, [ Promise] ( https://github.com/reactphp/promise ) -based MySQL database client
46for [ ReactPHP] ( https://reactphp.org/ ) .
57
@@ -60,6 +62,11 @@ This will install the latest supported version:
6062$ composer require react/mysql:^0.2
6163```
6264
65+ This project aims to run on any platform and thus does not require any PHP
66+ extensions and supports running on legacy PHP 5.4 through current PHP 7+ and
67+ HHVM.
68+ It's * highly recommended to use PHP 7+* for this project.
69+
6370## Tests
6471
6572To run the test suite, you first need to clone this repo and then install all
You can’t perform that action at this time.
0 commit comments