forked from istresearch/scrapy-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 846 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: required
dist: trusty
addons:
hosts:
- travis-trusty
language: python
python: '2.7'
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt
install:
- pip install ansible
script:
- ansible-playbook -i ansible/travis.inventory ansible/scrapy-cluster.yml --syntax-check
- ansible-playbook -i ansible/travis.inventory ansible/scrapy-cluster.yml --connection=local
--become
- virtualenv ~/sc; source ~/sc/bin/activate; pip install -r requirements.txt
- source ~/sc/bin/activate; ./run_offline_tests.sh; ./run_online_tests.sh
notifications:
slack:
rooms:
secure: nPY+SvgkOrpvU76i55bDtXPbclq7WzY2DCwOCbYNzpMMTNnlqV9uhwUc31gHdl+xO8aXf52JwuOqTZnJTi9PGuomp7qf4N4z/dz3tKdjj3ppgeDx8hcmAikiM/qoOUadA9zNvP+wHfJSK7l6LnbAZgdOAXZb77Fk5rIuRr695vg=
on_success: always
on_failure: always
on_start: always