Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
travis: remove coverage target, don't use venv for docs target
  • Loading branch information
methane committed Feb 12, 2017
commit bfeb853c04a9887cc93743ddf0a8fc85a183f99d
27 changes: 3 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,17 @@ env:
- TESTING=cpython

matrix:
allow_failures:
- env:
- TESTING=coverage
include:
- os: linux
language: python
python: 3.5
python: 2.7
env:
- TESTING=docs
before_script:
- cd Doc
- make venv PYTHON=python3
- pip install -U Sphinx
script:
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
- os: linux
language: c
compiler: clang
env:
- TESTING=coverage
before_script:
- ./configure
- make -s -j4
# Need a venv that can parse covered code.
- ./python -m venv venv
- ./venv/bin/python -m pip install -U coverage
script:
# Skip tests that re-run the entire test suite.
- ./venv/bin/python -m coverage run --pylib -m test -uall -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
- source ./venv/bin/activate
- bash <(curl -s https://codecov.io/bash)
- make html SPHINXOPTS="-q"
- os: linux
language: cpp
compiler: clang
Expand Down