mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
* Testing framework for timeline-based tests. See pytests/helpers/timeline.md for a detailed description. Fixes #832, and lays the groundwork for #833. * Upgrade pip to most recent version before installing prerequisites on Travis.
38 lines
972 B
YAML
38 lines
972 B
YAML
language: python
|
|
cache: pip
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5-dev"
|
|
# 3.6 is tested via coverage
|
|
- "3.7-dev"
|
|
env:
|
|
- TARGET=ci-test
|
|
|
|
matrix:
|
|
include:
|
|
- python: 3.6
|
|
env: TARGET=ci-lint
|
|
- python: "3.6-dev"
|
|
env: TARGET=ci-coverage
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
# The schema check is failing with a 403 error, possibly
|
|
# due to GitHub API limits.
|
|
#- python: 3.6
|
|
#- env: TARGET=ci-check-schemafile
|
|
|
|
before_install:
|
|
- export TRAVIS_PYTHON_PATH=`which python`
|
|
# Travis comes with an ancient version of pytest preinstalled globally,
|
|
# which breaks automatic dependency checks for setup.py. Force upgrade.
|
|
- $TRAVIS_PYTHON_PATH -m pip install --upgrade pip
|
|
- $TRAVIS_PYTHON_PATH -m pip install --upgrade pytest
|
|
|
|
install:
|
|
- make depends PYTHON=$TRAVIS_PYTHON_PATH
|
|
|
|
script:
|
|
#- make $TARGET PYTHON=python$TRAVIS_PYTHON_VERSION
|
|
- make $TARGET PYTHON=$TRAVIS_PYTHON_PATH
|
|
|