mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-12-15 00:29:03 -05:00
travis-ci first try
This commit is contained in:
parent
a370e7b987
commit
0caf365516
2 changed files with 30 additions and 0 deletions
14
.travis.yml
Normal file
14
.travis.yml
Normal 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
|
||||||
|
install:
|
||||||
|
- ansible-playbook -e brozzler_pip_name=. --inventory-file=ansible/hosts-localhost ansible/playbook.yml
|
||||||
|
- pip install . pytest
|
||||||
|
script:
|
||||||
|
- py.test -v -s tests
|
||||||
16
ansible/hosts-localhost
Normal file
16
ansible/hosts-localhost
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
localhost ansible_connection=local
|
||||||
|
|
||||||
|
[rethinkdb]
|
||||||
|
localhost
|
||||||
|
|
||||||
|
[warcprox]
|
||||||
|
localhost
|
||||||
|
|
||||||
|
[brozzler-worker]
|
||||||
|
localhost
|
||||||
|
|
||||||
|
[brozzler-webconsole]
|
||||||
|
localhost
|
||||||
|
|
||||||
|
[pywb]
|
||||||
|
localhost
|
||||||
Loading…
Add table
Add a link
Reference in a new issue