forked from TyMaszWeb/django-cookie-law
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (56 loc) · 1.33 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
sudo: required
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
env:
- DEPS='Django<1.5'
- DEPS='Django<1.6'
- DEPS='Django<1.7'
- DEPS='Django<1.8'
- DEPS='Django<1.9'
matrix:
exclude:
- env: DEPS='Django<1.5'
python: "3.2"
- env: DEPS='Django<1.5'
python: "3.3"
- env: DEPS='Django<1.5'
python: "3.4"
- env: DEPS='Django<1.5'
python: "3.5"
- env: DEPS='Django<1.6'
python: "3.4"
- env: DEPS='Django<1.6'
python: "3.5"
- env: DEPS='Django<1.7'
python: "3.4"
- env: DEPS='Django<1.7'
python: "3.5"
- env: DEPS='Django<1.8'
python: "2.6"
- env: DEPS='Django<1.8'
python: "3.5"
- env: DEPS='Django<1.9'
python: "2.6"
before_install:
- "apt-cache search google-chrome"
- "wget https://chromedriver.storage.googleapis.com/2.25/chromedriver_linux64.zip"
- "unzip chromedriver_linux64.zip -d /home/travis/bin"
- "sudo apt-get update"
- "sudo apt-get install -y libappindicator1 fonts-liberation"
- "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
- "sudo dpkg -i google-chrome*.deb"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 3"
install:
- pip install $DEPS
- python setup.py develop
script:
- "python setup.py test"