Skip to content

Commit

Permalink
Remove doc deployment steps from travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nocarryr committed Mar 6, 2020
1 parent 8a16692 commit 5b0262b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .travis.yml
Expand Up @@ -4,23 +4,18 @@ matrix:
include:
- python: "2.7"
env:
- ALLOW_DOC_DEPLOY=false
- ALLOW_PYPI_DEPLOY=false
- python: "3.4"
env:
- ALLOW_DOC_DEPLOY=false
- ALLOW_PYPI_DEPLOY=false
- python: "3.5"
env:
- ALLOW_DOC_DEPLOY=false
- ALLOW_PYPI_DEPLOY=false
- python: "3.6"
env:
- ALLOW_DOC_DEPLOY=true
- ALLOW_PYPI_DEPLOY=true
- python: "3.7"
env:
- ALLOW_DOC_DEPLOY=false
- ALLOW_PYPI_DEPLOY=false
addons:
apt:
Expand All @@ -34,15 +29,12 @@ before_install:
install:
- pip install -U pip setuptools wheel
- pip install -U pytest pytest-xdist pytest-cov coveralls
- sh -c "if [ '$ALLOW_DOC_DEPLOY' = 'true' ]; then pip install -r doc/requirements.txt; fi"
- pip install -e .
script:
- sh -c "if [ '$ALLOW_DOC_DEPLOY' = 'true' ]; then travis-sphinx build --source=doc/source --nowarn; fi"
- py.test --cov-config .coveragerc --cov=rtlsdr
- py.test --cov-append --cov-config .coveragerc --cov=rtlsdr --boxed --no-overrides --pyargs tests/no_override*
after_success:
- coveralls
- sh -c "if [ '$ALLOW_DOC_DEPLOY' = 'true' ]; then travis-sphinx deploy; fi"
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
Expand Down
1 change: 0 additions & 1 deletion doc/requirements.txt
@@ -1,3 +1,2 @@
Sphinx>=2.3.1
sphinx_rtd_theme
travis-sphinx>=2.1.2

0 comments on commit 5b0262b

Please sign in to comment.