From 0ecd240f0c563f6bafc264bec390c1d14cdb49f5 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Mon, 17 Oct 2016 17:56:09 -0700 Subject: [PATCH] travis-ci first try --- .travis.yml | 14 ++++++++++++++ ansible/hosts-localhost | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .travis.yml create mode 100644 ansible/hosts-localhost diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ec60068 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/ansible/hosts-localhost b/ansible/hosts-localhost new file mode 100644 index 0000000..6cfd8bb --- /dev/null +++ b/ansible/hosts-localhost @@ -0,0 +1,14 @@ +[rethinkdb] +localhost + +[warcprox] +localhost + +[brozzler-worker] +localhost + +[brozzler-webconsole] +localhost + +[pywb] +localhost