Trying to bulk up automated testing

This commit is contained in:
Ric Harvey
2017-01-04 14:46:42 +00:00
parent 5dc92e6b31
commit 0bb6580877
4 changed files with 99 additions and 0 deletions

View File

@@ -9,10 +9,20 @@ install:
- docker build -t php .
- docker run -d -p 127.0.0.1:80:80 --name nginx-php-fpm php
before_script:
- pip install -r requirements.txt
- pip install mock
- pip install requests
- pip install feedparser
- pip install coverage
- pip install coveralls
script:
- docker ps
- sleep 5
- curl -I 127.0.0.1:80
- python tests.py
- coverage run tests.py
notifications:
slack: ngineered:EIKJFrzibOe0TwUhLXNe8Q2Q