-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from byjg/2.0.4
2.0.4
- Loading branch information
Showing
35 changed files
with
333 additions
and
161 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
language: php | ||
|
||
addons: | ||
hosts: | ||
- mysql-container | ||
- postgres-container | ||
- dblib-container | ||
|
||
php: | ||
- "7.2" | ||
- "7.1" | ||
- "7.0" | ||
- "5.6" | ||
|
||
services: | ||
- docker | ||
|
||
before_install: | ||
- sudo service mysql stop || echo "mysql not stopped" | ||
- sudo service postgresql stop || echo "postgresql not stopped" | ||
- npm i @usdocker/usdocker @usdocker/postgres @usdocker/mysql @usdocker/mssql | ||
- node_modules/.bin/usdocker --refresh | ||
# - node_modules/.bin/usdocker mssql up | ||
- node_modules/.bin/usdocker postgres up | ||
- node_modules/.bin/usdocker mysql up | ||
|
||
install: | ||
- composer install | ||
- node_modules/.bin/usdocker mssql status | ||
- node_modules/.bin/usdocker postgres status | ||
- node_modules/.bin/usdocker mysql status | ||
|
||
script: | ||
- phpunit | ||
- vendor/bin/phpunit | ||
# - vendor/bin/phpunit tests/SqlServerDatabaseTest.php | ||
- vendor/bin/phpunit tests/PostgresDatabaseTest.php | ||
- vendor/bin/phpunit tests/MysqlDatabaseTest.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.