This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
46 lines (38 loc) · 1.62 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
sudo: required
dist: trusty
language: python
python:
- 3.4
- 3.5
- 3.6
before_install:
- sudo apt-get update
- sudo apt-get install chromium-chromedriver # chrome v64.0
before_script:
- "export PATH=$PATH:/usr/lib/chromium-browser/"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
install:
- pip install -r requirements.txt
- pip install flake8 coverage
script:
- flake8 scribd_dl --ignore=E402,E501,E731,E741
- coverage run --source=scribd_dl --omit=scribd_dl/version.py -m pytest tests/ -s
after_success:
- coverage report -m
- if [ ${TRAVIS_PYTHON_VERSION} = "3.6" ]; then bash <(curl -s https://codecov.io/bash); fi
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: giannis.terzopoulos
password:
secure: JOA3DG4tqdmDGp5dwugdTZZ7u29ILOTeAxIgf8QmzcSvGRVt1B9yP8OVq3gX5YtFDf5D+tVm3BsR6kiYrS54qZ7cmWXcC+QB8vN4g9AGh3FN3LJ4CuvxG5E4rhZtkFPGfMB0TmCmV9/HbmSHtPLKsIKMTZSVQAuAg3XFgmryrj8r4jdE7Ryzp7BK2iAFz60Ajq7u7qOjHZyTtpoVsj1W8SsBREE0UA7fJsz2X+GazqWeGv78hVT4ft9mWahrR3LtSyLqq54ani4NIgOCtrSc/H4vlGV2t/RA1mIX50S5XY5gmdAvhuu1j35Q2HpihsSh2HE9n+TBAp7IigzghKXZJ8cKnQWiDxtQPQsdlGov5oGUt5YJLUDFZ8njE73ZQpkYb4MIL++lnEf/sgm+tMap9FF2068nfqwt+nRN223NkxA1Mb7t6KeEiSG7L1W9QY3D+lJesEvLNp0+49vzPmdJXn4/Pszvwl0A4K8PXekZNqEeXSHrup8xJa2ex1vCIw8ZjO2f/zTvA5azkK436/KmQJilJeVZ8yiBuEgX+mKYsJWuOLNFad7i5x5TpjYSOvQQ3MPEld8m9RYwG5AxGsvFlY0mlPE5a+6rqfSh0ijISC7FB41+spK4OLtx8zpnP4NDPMFCTIkXru2RuP4kBXVP/DIucVBHzPaBwrfHt7vYCnw=
on:
tags: true
repo: giannisterzopoulos/scribd-dl
branch: master
python: 3.6
notifications:
on_failure: always
on_success: never