forked from barseghyanartur/django-fobi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (76 loc) · 2.11 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
dist: xenial
services:
- postgresql
language: python
cache: pip
sudo: true
addons:
chrome: stable
hosts:
- localhost
- 127.0.0.1
matrix:
fast_finish: true
include:
# - env: TOX_ENV=py27-django18
# python: 2.7
# - env: TOX_ENV=py35-django18
# python: 3.5
# - env: TOX_ENV=py36-django18
# python: 3.6
# - env: TOX_ENV=py27-django111
# python: 2.7
- env: TOX_ENV=py35-django111
python: 3.5
- env: TOX_ENV=py36-django111
python: 3.6
- env: TOX_ENV=py37-django111
python: 3.7
- env: TOX_ENV=py38-django111
python: 3.8
# - env: TOX_ENV=py35-django20
# python: 3.5
- env: TOX_ENV=py36-django20
python: 3.6
- env: TOX_ENV=py37-django22
python: 3.7
- env: TOX_ENV=py38-django22
python: 3.8
- env: TOX_ENV=py36-django21
python: 3.6
- env: TOX_ENV=py37-django21
python: 3.7
- env: TOX_ENV=py38-django21
python: 3.8
- env: TOX_ENV=py36-django22
python: 3.6
- env: TOX_ENV=py37-django22
python: 3.7
- env: TOX_ENV=py38-django22
python: 3.8
- env: TOX_ENV=py36-django30
python: 3.6
- env: TOX_ENV=py37-django30
python: 3.7
- env: TOX_ENV=py38-django30
python: 3.8
before_install:
- sudo apt-get install -y xvfb libappindicator1 fonts-liberation
# - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# - sudo dpkg -i google-chrome*.deb
# - wget http://ftp.us.debian.org/debian/pool/main/c/chromium/chromium_75.0.3770.90-1_amd64.deb
# - sudo dpkg -i chromium_75.0.3770.90-1_amd64.deb
install:
- wget https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_linux64.zip
# - wget http://chromedriver.storage.googleapis.com/75.0.3770.90/chromedriver_linux64.zip
# - wget http://chromedriver.storage.googleapis.com/74.0.3729.6/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d /home/travis/
- pip install -r examples/requirements/test.txt
before_script:
- export CHROME_BIN=/home/travis/chromedriver
- psql -c 'create database fobi_test;' -U postgres
- sleep 2
script: travis_retry tox -e $TOX_ENV
after_success:
- pip install coveralls
- coveralls