mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
language: python
|
|
sudo: true
|
|
python:
|
|
- 2.7
|
|
- 3.3
|
|
- 3.4
|
|
- 3.5
|
|
- 3.6
|
|
|
|
env:
|
|
- JEDI_TEST_ENVIRONMENT=27
|
|
- JEDI_TEST_ENVIRONMENT=33
|
|
- JEDI_TEST_ENVIRONMENT=34
|
|
- JEDI_TEST_ENVIRONMENT=35
|
|
- JEDI_TEST_ENVIRONMENT=36
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- python: pypy
|
|
- env: TOXENV=sith
|
|
- env: TOXENV=cov
|
|
- python: 3.7-dev
|
|
include:
|
|
- python: 3.5
|
|
env:
|
|
- TOXENV=cov
|
|
- JEDI_TEST_ENVIRONMENT=35
|
|
- python: 3.5
|
|
env: TOXENV=sith
|
|
- python: pypy
|
|
- python: "3.7-dev"
|
|
before_install:
|
|
- ./travis_install.sh
|
|
# Need to add the path to the Python versions in the end. This might add
|
|
# something twice, but it doesn't really matter, because they are appended.
|
|
- export PATH=$PATH:/opt/python/3.3/bin
|
|
- export PATH=$PATH:/opt/python/3.5/bin
|
|
# 3.6 was not installed manually, but already is on the system. However
|
|
# it's not on path (unless 3.6 is selected).
|
|
- export PATH=$PATH:/opt/python/3.6/bin
|
|
install:
|
|
- pip install --quiet tox-travis
|
|
script:
|
|
- tox
|
|
after_script:
|
|
- if [ $TOXENV == "cov" ]; then
|
|
pip install --quiet coveralls;
|
|
coveralls;
|
|
fi
|