test urllib3 master branch

This commit is contained in:
Nate Prewitt
2018-10-17 22:55:50 -07:00
parent 2c6a8426ae
commit 328bf68269
2 changed files with 21 additions and 3 deletions
+15 -1
View File
@@ -11,32 +11,46 @@ cache: pip
jobs:
include:
- stage: test
name: "Python 2.7"
script:
- make test-readme
- make ci
python: '2.7'
- stage: test
name: "Python 3.4"
script:
- make test-readme
- make ci
python: '3.4'
- stage: test
name: "Python 3.5"
script:
- make test-readme
- make ci
python: '3.5'
- stage: test
name: "Python 3.6"
script:
- make test-readme
- make ci
python: '3.6'
- stage: test
name: "Python 3.7"
script:
- make test-readme
- make ci
python: '3.7'
dist: xenial
sudo: true
sudo: true
- stage: upstream compatibility
name: "urllib3"
script:
- make ci-dev
python: '3.7'
dist: xenial
sudo: true
allow_failures: true
- stage: coverage
name: "Coverage Test"
python: 3.6
script: codecov
+6 -2
View File
@@ -1,4 +1,4 @@
.PHONY: docs
.PHONY: docs ci-dev
init:
pip install pipenv --upgrade
pipenv install --dev --skip-lock
@@ -8,6 +8,10 @@ test:
ci:
pipenv run py.test -n 8 --boxed --junitxml=report.xml
ci-dev:
pip install git+https://github.com/urllib3/urllib3.git
$(MAKE) ci
test-readme:
@pipenv run python setup.py check --restructuredtext --strict && ([ $$? -eq 0 ] && echo "README.rst and HISTORY.rst ok") || echo "Invalid markup in README.rst or HISTORY.rst!"
@@ -25,4 +29,4 @@ publish:
docs:
cd docs && make html
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"