diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2019-10-14 21:45:56 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2019-10-22 14:00:55 +0200 |
| commit | 2e11b9e4a70f7aedd2f3f295b0d99433e360f00e (patch) | |
| tree | db526159dbe8eb8690a480ab86214491ed575673 | |
| parent | 0bb0e61feaabc51d44431131a9e3ed4bd0ece96f (diff) | |
Travis-CI: Make "linkcheck" a separate job
| -rw-r--r-- | .travis.yml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 8bc3700..028d682 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: python matrix: include: - python: "3.7" - env: LINKCHECK=yes - python: "3.6" - python: "3.5" - python: "3.4" @@ -11,6 +10,11 @@ matrix: - python: "pypy3" - os: osx language: generic + - name: build docs and check for broken links + install: + - pip install -r doc/requirements.txt + script: + - python setup.py build_sphinx -b linkcheck -W addons: apt: packages: @@ -18,17 +22,7 @@ addons: - libportaudio2 install: - pip install . - - | - if [ "$LINKCHECK" = yes ] - then - pip install -r doc/requirements.txt - fi script: - - | - if [ "$LINKCHECK" = yes ] - then - python setup.py build_sphinx -b linkcheck -W - fi - cd /tmp - python -m sounddevice - python -c "import sounddevice as sd; print(sd._libname)" |
