Skip to content

Commit

Permalink
ci: cleanup travis
Browse files Browse the repository at this point in the history
  • Loading branch information
back-to committed Jan 17, 2021
1 parent fbe51bc commit 9baab5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 32 deletions.
28 changes: 6 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,20 @@ language: python
matrix:
include:
- python: '3.6'
env: BUILD_DOCS=yes
- python: '3.7'
- python: '3.8'
- python: '3.9'

before_install:
- pip install --upgrade pip setuptools
- pip install --upgrade -r requirements-dev.txt
- if [[ $BUILD_DOCS == 'yes' ]]; then
pip install --upgrade -r requirements-docs.txt;
pip install --upgrade doctr;
fi
- pip install -U git+https://github.com/streamlink/streamlink.git
- pip install --upgrade flake8 flake8-import-order
# - pip install --upgrade pytest
# - pip install --upgrade git+https://github.com/streamlink/streamlink.git

install:
- pip install -e .
- pip install --upgrade -e .

script:
- liveproxy --version
# - pytest --cov
- flake8 liveproxy/
- if [[ $BUILD_DOCS == 'yes' ]]; then make --directory=docs html; fi

after_success:
- set -e
# push docs for master
- if [[ $BUILD_DOCS == 'yes' && $TRAVIS_REPO_SLUG == 'back-to/liveproxy' ]]; then doctr deploy .; fi

doctr:
build-tags: True
deploy-repo: liveproxy/liveproxy.github.io
key-path: deploy_key_doctr.enc
require-master: True
# - pytest
- flake8
4 changes: 0 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ include AUTHORS
include CHANGELOG.md
include README.md
include LICENSE*
include requirements-dev.txt
include requirements-docs.txt

recursive-include docs *
prune docs/_build
recursive-include tests *py

prune */__pycache__
Expand Down
1 change: 0 additions & 1 deletion deploy_key_doctr.enc

This file was deleted.

5 changes: 0 additions & 5 deletions requirements-dev.txt

This file was deleted.

0 comments on commit 9baab5a

Please sign in to comment.