Skip to content

Commit

Permalink
Added support for MariaDB!
Browse files Browse the repository at this point in the history
 * Added MariaDBService, MariaDBCrudService classes
 * Added tests for new services
 * Added example-meriadb-app to docs
 * Fixed typos in other example docs
 * Updated travis build spec
  • Loading branch information
kfitzgerald committed Apr 12, 2019
1 parent 06e5d91 commit 228b7e9
Show file tree
Hide file tree
Showing 13 changed files with 3,632 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ before_install:
- sudo service mysql stop
- docker pull mysql:5.7
- docker pull mysql:8
- docker pull mariadb:10.3
- docker run -d -p 3306:3306 -p 33060:33060 -e MYSQL_ROOT_PASSWORD=unittest --name mysql5.7 mysql:5.7
- docker run -d -p 3307:3306 -p 33070:33060 -e MYSQL_ROOT_PASSWORD=unittest --name mysql8 mysql:8
- docker run -d -p 3308:3306 -e MYSQL_ROOT_PASSWORD=unittest --name mariadb10.3 mariadb:10.3
- sleep 30
- docker exec -it mysql5.7 mysql -u root --password=unittest -e "INSTALL PLUGIN mysqlx SONAME 'mysqlx.so';"
script:
- MYSQL_PORT=33060 GENERATE_IDS=1 npm run report
- MYSQL_PORT=33070 GENERATE_IDS=0 npm run cover_noclean
- MARIA_PORT=3308 MYSQL_PORT=33060 GENERATE_IDS=1 npm run report
- MARIA_PORT=3308 MYSQL_PORT=33070 GENERATE_IDS=0 npm run cover_noclean
after_script:
- npm install coveralls@2.10.0 && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
before_deploy:
Expand Down

0 comments on commit 228b7e9

Please sign in to comment.