mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 06:46:15 +00:00
6686ac1730
* Add official Python 3.7 support Python 3.7 was just released [1]. This is a small change to enable support in requests. Signed-off-by: Eric Brown <browne@vmware.com>
43 lines
819 B
YAML
43 lines
819 B
YAML
sudo: false
|
|
language: python
|
|
# command to install dependencies
|
|
install: "make"
|
|
# command to run tests
|
|
script:
|
|
- |
|
|
if [[ "$TRAVIS_PYTHON_VERSION" != "2.6" ]] ; then make test-readme; fi
|
|
- make ci
|
|
cache: pip
|
|
jobs:
|
|
include:
|
|
- stage: test
|
|
script:
|
|
- make test-readme
|
|
- make ci
|
|
python: '2.7'
|
|
- stage: test
|
|
script:
|
|
- make test-readme
|
|
- make ci
|
|
python: '3.4'
|
|
- stage: test
|
|
script:
|
|
- make test-readme
|
|
- make ci
|
|
python: '3.5'
|
|
- stage: test
|
|
script:
|
|
- make test-readme
|
|
- make ci
|
|
python: '3.6'
|
|
- stage: test
|
|
script:
|
|
- make test-readme
|
|
- make ci
|
|
python: '3.7'
|
|
dist: xenial
|
|
sudo: true
|
|
- stage: coverage
|
|
python: 3.6
|
|
script: codecov
|