-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
203 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,196 +1,216 @@ | ||
env: | ||
global: | ||
- PIP_URL="https://bootstrap.pypa.io/get-pip.py" | ||
- PIP="python -m pip" | ||
- PIP_URL="https://bootstrap.pypa.io/get-pip.py" | ||
- PIP="python -m pip" | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- os: osx | ||
language: generic | ||
env: | ||
- NAME="Python 2.6" | ||
- PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" | ||
- PIP=pip | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 2.6.9 | ||
- pyenv local 2.6.9 | ||
- eval "$(pyenv init -)" | ||
- pip install virtualenv | ||
- python2.6 -m virtualenv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 2.7" | ||
before_install: | ||
- brew update | ||
- brew upgrade python2 || true | ||
- python2.7 -m pip install virtualenv | ||
- python2.7 -m virtualenv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python pypy" | ||
before_install: | ||
- brew update | ||
- brew upgrade pypy || brew install pypy || true | ||
- pypy -m pip install virtualenv | ||
- pypy -m virtualenv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.4" | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 3.4.9 | ||
- pyenv local 3.4.9 | ||
- eval "$(pyenv init -)" | ||
- python3.4 -m venv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.5" | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 3.5.6 | ||
- pyenv local 3.5.6 | ||
- eval "$(pyenv init -)" | ||
- python3.5 -m venv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.6" | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 3.6.6 | ||
- pyenv local 3.6.6 | ||
- eval "$(pyenv init -)" | ||
- python3.6 -m venv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.7" | ||
before_install: | ||
- brew update | ||
- brew upgrade python || true | ||
- python3.7 -m venv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python HEAD" | ||
before_install: | ||
- brew update | ||
- brew unlink python | ||
- brew install python --HEAD | ||
- python3 -m venv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python pypy3" | ||
before_install: | ||
- brew update | ||
- brew upgrade pypy3 || brew install pypy3 || true | ||
- pypy3 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
env: | ||
- PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" | ||
- PIP=env/bin/pip | ||
language: python | ||
python: 2.6 | ||
before_install: | ||
- pip install virtualenv | ||
- python2.6 -m virtualenv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 2.7 | ||
before_install: | ||
- pip install virtualenv | ||
- python2.7 -m virtualenv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: pypy | ||
before_install: | ||
- pip install virtualenv | ||
- pypy -m virtualenv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.4 | ||
before_install: | ||
- python3.4 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.5 | ||
before_install: | ||
- python3.5 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.6 | ||
before_install: | ||
- python3.6 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: &python_major_ver 3.7 | ||
dist: xenial | ||
sudo: true | ||
before_install: | ||
- python3.7 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.6-dev | ||
before_install: | ||
- python3.6 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.7-dev | ||
before_install: | ||
- python3.7 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: nightly | ||
before_install: | ||
- python3 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: pypy3 | ||
before_install: | ||
- pypy3 -m venv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: | ||
- NAME="Python 2.6" | ||
- PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" | ||
- PIP=pip | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 2.6.9 | ||
- pyenv local 2.6.9 | ||
- eval "$(pyenv init -)" | ||
- pip install virtualenv | ||
- python2.6 -m virtualenv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 2.7" | ||
before_install: | ||
- brew update | ||
- brew upgrade python2 || true | ||
- python2.7 -m pip install virtualenv | ||
- python2.7 -m virtualenv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python pypy" | ||
before_install: | ||
- brew update | ||
- brew upgrade pypy || brew install pypy || true | ||
- pypy -m pip install virtualenv | ||
- pypy -m virtualenv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.4" | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 3.4.9 | ||
- pyenv local 3.4.9 | ||
- eval "$(pyenv init -)" | ||
- python3.4 -m venv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.5" | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 3.5.6 | ||
- pyenv local 3.5.6 | ||
- eval "$(pyenv init -)" | ||
- python3.5 -m venv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.6" | ||
before_install: | ||
- brew update | ||
- brew upgrade pyenv || brew install pyenv || true | ||
- pyenv install 3.6.6 | ||
- pyenv local 3.6.6 | ||
- eval "$(pyenv init -)" | ||
- python3.6 -m venv env | ||
- pyenv local --unset | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python 3.7" | ||
before_install: | ||
- brew update | ||
- brew upgrade python || true | ||
- python3.7 -m venv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python HEAD" | ||
before_install: | ||
- brew update | ||
- brew unlink python | ||
- brew install python --HEAD | ||
- python3 -m venv env | ||
- source env/bin/activate | ||
- os: osx | ||
language: generic | ||
env: NAME="Python pypy3" | ||
before_install: | ||
- brew update | ||
- brew upgrade pypy3 || brew install pypy3 || true | ||
- pypy3 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
env: | ||
- PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" | ||
- PIP=env/bin/pip | ||
language: python | ||
python: 2.6 | ||
before_install: | ||
- pip install virtualenv | ||
- python2.6 -m virtualenv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 2.7 | ||
before_install: | ||
- pip install virtualenv | ||
- python2.7 -m virtualenv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: pypy | ||
before_install: | ||
- pip install virtualenv | ||
- pypy -m virtualenv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.4 | ||
before_install: | ||
- python3.4 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.5 | ||
before_install: | ||
- python3.5 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.6 | ||
before_install: | ||
- python3.6 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.7 | ||
dist: xenial | ||
sudo: true | ||
before_install: | ||
- python3.7 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.6-dev | ||
before_install: | ||
- python3.6 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: 3.7-dev | ||
before_install: | ||
- python3.7 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: nightly | ||
before_install: | ||
- python3 -m venv env | ||
- source env/bin/activate | ||
- os: linux | ||
language: python | ||
python: pypy3 | ||
before_install: | ||
- pypy3 -m venv env | ||
- source env/bin/activate | ||
allow_failures: | ||
- os: osx | ||
env: NAME="Python HEAD" | ||
- os: linux | ||
python: 3.6-dev | ||
- os: linux | ||
python: 3.7-dev | ||
- os: linux | ||
python: nightly | ||
- os: osx | ||
env: NAME="Python HEAD" | ||
- os: linux | ||
python: 3.6-dev | ||
- os: linux | ||
python: 3.7-dev | ||
- os: linux | ||
python: nightly | ||
|
||
install: | ||
- curl ${PIP_URL} | python | ||
- ${PIP} install -r requirements.txt | ||
- curl ${PIP_URL} | python | ||
- ${PIP} install -r requirements.txt | ||
|
||
script: | ||
- make test | ||
- make test | ||
|
||
after_success: | ||
- python -m codecov | ||
- python -m codecov | ||
|
||
deploy: | ||
- provider: pypi | ||
user: Ilya.Kulakov | ||
password: | ||
secure: "VlZYEwVXqGknNEfz6vCo26JWtcbXfBY0ihG+Co6PO7JQn2jEoogKEsMhi3f/rs22nlsH124AQa7bugmH1TkgBn8ODsKLZWGAQKSm9tQlYD2idsTYqCDk5bCAWpjX/RJqZZeMnDmL9BFJkaubrTfnFWdMxI1xXi/G9wC4NaSXSJc=" | ||
distributions: "sdist bdist_wheel" | ||
on: | ||
tags: true | ||
branch: master | ||
python: 3.7 | ||
- provider: releases | ||
api_key: | ||
secure: "QHn7vzWo7rbgemP37qdNU4h+q7Xb2CQ7HxPFfa7yTsxFd8V4+sQLVrnaQtzYTM8dJWvRgi8PVHVGl2VGnQAiRM4Nd/NE/3HL9aHQIfWRtZ6XHfNVQ55bxJzLfZZy2M+32b8W268ELj3ty4C3Mo7TuOTv4svQoRDrLzGozJCpu+w=" | ||
file_glob: true | ||
file: dist/* | ||
on: | ||
tags: true | ||
branch: master | ||
python: 3.7 |