Skip to content
Snippets Groups Projects
Commit 320da2237ce7 authored by Nate Prewitt's avatar Nate Prewitt
Browse files

test urllib3 master branch

parent fd4b4842d5cc
No related tags found
No related merge requests found
...@@ -11,8 +11,9 @@ ...@@ -11,8 +11,9 @@
jobs: jobs:
include: include:
- stage: test - stage: test
name: "Python 2.7"
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '2.7' python: '2.7'
- stage: test - stage: test
...@@ -14,10 +15,11 @@ ...@@ -14,10 +15,11 @@
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '2.7' python: '2.7'
- stage: test - stage: test
name: "Python 3.4"
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.4' python: '3.4'
- stage: test - stage: test
...@@ -19,10 +21,11 @@ ...@@ -19,10 +21,11 @@
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.4' python: '3.4'
- stage: test - stage: test
name: "Python 3.5"
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.5' python: '3.5'
- stage: test - stage: test
...@@ -24,10 +27,11 @@ ...@@ -24,10 +27,11 @@
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.5' python: '3.5'
- stage: test - stage: test
name: "Python 3.6"
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.6' python: '3.6'
- stage: test - stage: test
...@@ -29,11 +33,12 @@ ...@@ -29,11 +33,12 @@
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.6' python: '3.6'
- stage: test - stage: test
name: "Python 3.7"
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.7' python: '3.7'
dist: xenial dist: xenial
sudo: true sudo: true
...@@ -34,7 +39,15 @@ ...@@ -34,7 +39,15 @@
script: script:
- make test-readme - make test-readme
- make ci - make ci
python: '3.7' python: '3.7'
dist: xenial 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 - stage: coverage
...@@ -40,3 +53,4 @@ ...@@ -40,3 +53,4 @@
- stage: coverage - stage: coverage
name: "Coverage Test"
python: 3.6 python: 3.6
script: codecov script: codecov
.PHONY: docs .PHONY: docs ci-dev
init: init:
pip install pipenv --upgrade pip install pipenv --upgrade
pipenv install --dev --skip-lock pipenv install --dev --skip-lock
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
ci: ci:
pipenv run py.test -n 8 --boxed --junitxml=report.xml 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: 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!" @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 @@ ...@@ -25,4 +29,4 @@
docs: docs:
cd docs && make html 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"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment