adding travis to start automated tests

This commit is contained in:
Ric Harvey
2017-01-03 16:02:23 +00:00
parent 0829d18474
commit 9928a226ba

14
travis.yml Normal file
View File

@@ -0,0 +1,14 @@
language: python
python:
- 2.7
services:
- docker
install:
- docker build -t blog .
- docker run -d -p 127.0.0.1:80:80 --name blog blog
script:
- docker ps | grep -q blog
- curl 127.0.0.1