Fix MySQL compatibility in the docker images. (#140)

* Fix MySQL compatibility in the docker images.

* Test the containers with MySQL containers too!
This commit is contained in:
Abhilash Raj
2017-09-30 20:38:33 -07:00
committed by GitHub
parent 035e694152
commit afb8f09eff
7 changed files with 137 additions and 19 deletions

View File

@@ -5,6 +5,10 @@ services:
language: python
env:
- DB=postgres
- DB=mysql
install:
- docker --version
- ./build.sh
@@ -13,14 +17,6 @@ install:
before_script:
- sh tests/generate_tests.sh
- docker-compose -f docker-compose.yaml -f docker-test.yaml up -d
- docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mailman-core
- docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mailman-web
- docker-compose ps
- sleep 30
- docker ps
- docker logs mailman-web
- docker logs mailman-core
script:
- sh tests/test.sh