forked from davidteather/TikTok-Api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (33 loc) · 1017 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
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.8-dev"
- "nightly"
matrix:
allow_failures:
- python: "3.8-dev"
- python: "nightly"
addons:
firefox: "62.0.3"
chrome: stable
install:
- pip install pytest
before_script:
- "sudo apt-get install unzip"
- "wget https://chromedriver.storage.googleapis.com/83.0.4103.39/chromedriver_linux64.zip -O /tmp/chromedriver.zip && unzip /tmp/chromedriver.zip -d /opt && sudo chmod 755 /opt/chromedriver && sudo ln -fs /opt/chromedriver /usr/bin/chromedriver && sudo ln -fs /opt/chromedriver /usr/local/bin/chromedriver"
- "sudo apt-get install java-common"
- "pip install -r requirements.txt"
- "python setup.py install_lib"
script:
- pytest tests/test_trending.py
- pytest tests/test_user.py
- pytest tests/test_VideoByUrl.py
- pytest tests/test_bySound.py
- pytest tests/test_byUsername.py
- pytest tests/test_byHashtag.py
- pytest tests/test_suggested.py
- pytest tests/test_getObjectRoutes.py