-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy path.travis.yml
41 lines (40 loc) · 1.02 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
language: python
os: linux
dist: focal
services:
- xvfb
addons:
apt:
sources:
- sourceline: 'deb https://deb.torproject.org/torproject.org focal main'
packages:
- tor
- tor-geoipdb
env:
global:
- DOWNLOAD_DIR=${HOME}/download
- STABLE_V=14.0.5
- ALPHA_V=14.5a2
- TBB_DIST_URL=https://www.torproject.org/dist/torbrowser/
matrix:
- TRAVIS_EXTRA_JOB_WORKAROUND=true
cache:
directories:
- ${DOWNLOAD_DIR}
matrix:
include:
- python: "3.8"
env: VERSION_ARCH="${ALPHA_V}/tor-browser-linux-x86_64-${ALPHA_V}.tar.xz"
- python: "3.8"
env: VERSION_ARCH="${STABLE_V}/tor-browser-linux64-${STABLE_V}_ALL.tar.xz"
exclude:
- env: TRAVIS_EXTRA_JOB_WORKAROUND=true
install:
- pip install -r requirements-travis.txt
- pip install .
- TARBALL=`echo ${VERSION_ARCH} |cut -d'/' -f 2`
- . ./travis.sh
- export TBB_PATH=${HOME}/tor-browser
before_script:
- cd tbselenium
script: travis_retry py.test -s -v --cov=tbselenium --cov-report term-missing --durations=10 test