Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run Dockerfiles in travis
  • Loading branch information
David Farrington committed Jan 5, 2016
commit db3c6027ec668e394ec4c1870b5528e3dd9cc9f7
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

language: python
python: "2.7"
services:
- docker

env:
- ROLE_OPTIONS="postgresql_version=9.1 postgresql_shared_buffers=32MB"
- ROLE_OPTIONS="postgresql_version=9.2 postgresql_shared_buffers=32MB"
Expand Down Expand Up @@ -36,3 +39,7 @@ script:
# Idempotence test
- ansible-playbook -i inventory tests/playbook.yml --connection=local --sudo -e "$ROLE_OPTIONS" > idempotence_out
- ./tests/idempotence_check.sh idempotence_out

# Testing with docker (experimental)
- docker build -f tests/Dockerfile-ubuntu14.04 -t postgres_ubuntu14.04 .
- docker build -f tests/Dockerfile-centos6 -t postgres_centos6 .