forked from lincolnloop/django-dynamic-raw-id
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (33 loc) · 844 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
language: python
addons:
firefox: latest
dist: xenial
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
sudo: true
- python: 3.8
sudo: true
cache: pip
env:
global:
- GECKODRIVER_VERSION=0.26.0
- MOZ_HEADLESS=1
before_install:
# Geckodriver
- wget https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
install: pip install tox-travis coverage codacy-coverage
script: tox
after_success:
- coverage xml
- python-codacy-coverage -r coverage.xml
after_failure:
- cat geckodriver.log
- firefox --version --headless
- geckodriver --version