forked from lorien/grab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 loc) · 971 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: python
python: 2.7
os:
- linux
matrix:
allow_failures:
- os: osx
- env: TOX_ENV=py27-mp
- env: TOX_ENV=py33-mp
- env: TOX_ENV=py34-mp
- env: TOX_ENV=py27-urllib3
- env: TOX_ENV=py33-urllib3
- env: TOX_ENV=py34-urllib3
env:
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py27-mp
- TOX_ENV=py33-mp
- TOX_ENV=py34-mp
- TOX_ENV=py27-urllib3
- TOX_ENV=py33-urllib3
- TOX_ENV=py34-urllib3
services:
- mongodb
- redis-server
install:
# Deal with issue on Travis builders re: multiprocessing.Queue :(
- "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm"
- pip install tox
before_script:
- mysql -e 'create database grab_test'
- psql -c 'create database grab_test' -U postgres
script:
# Override test settings with travis settings
- cp travis_settings.py test_settings_local.py
# Run tests and find out the test coverage
- tox -e $TOX_ENV
after_success:
- coveralls