* Fix MySQL compatibility in the docker images. * Test the containers with MySQL containers too!
29 lines
369 B
YAML
29 lines
369 B
YAML
sudo: required
|
|
|
|
services:
|
|
- docker
|
|
|
|
language: python
|
|
|
|
env:
|
|
- DB=postgres
|
|
- DB=mysql
|
|
|
|
install:
|
|
- docker --version
|
|
- ./build.sh
|
|
- sudo pip install docker-compose
|
|
- docker-compose --version
|
|
|
|
before_script:
|
|
- sh tests/generate_tests.sh
|
|
|
|
script:
|
|
- sh tests/test.sh
|
|
|
|
after_success:
|
|
- sh .travis/deploy_dockerhub.sh
|
|
|
|
after_script:
|
|
- docker-compose down
|