Files
nginx-php-fpm/.travis.yml
2017-01-04 14:52:14 +00:00

26 lines
418 B
YAML

language: python
python:
- 2.7
services:
- docker
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
script:
- docker ps
- sleep 5
- curl -I 127.0.0.1:80
- python tests.py
notifications:
slack: ngineered:EIKJFrzibOe0TwUhLXNe8Q2Q