Skip to content

[backport to 2.7] bpo-29529: Add .travis.yml to 2.7 branch #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 20, 2017
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy