travis-ci first try

This commit is contained in:
Noah Levitt 2016-10-17 17:56:09 -07:00
parent a370e7b987
commit 0ecd240f0c
2 changed files with 28 additions and 0 deletions

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: python
python:
- 3.4
sudo: required
dist: trusty
before_install:
- sudo apt-add-repository -y ppa:ansible/ansible
- sudo apt-get -qq update
- sudo apt-get install -y ansible
before_script:
- ansible-playbook -e brozzler_pip_name=. --inventory-file=ansible/hosts-localhost ansible/playbook.yml
- pip install . pytest
script:
- py.test -v -s tests

14
ansible/hosts-localhost Normal file
View File

@ -0,0 +1,14 @@
[rethinkdb]
localhost
[warcprox]
localhost
[brozzler-worker]
localhost
[brozzler-webconsole]
localhost
[pywb]
localhost