-
Notifications
You must be signed in to change notification settings - Fork 1
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
3 changed files
with
81 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
environment: | ||
matrix: | ||
- PYTHON: "C:\\Python35" | ||
- PYTHON: "C:\\Python35-x64" | ||
- PYTHON: "C:\\Python36" | ||
- PYTHON: "C:\\Python36-x64" | ||
- PYTHON: "C:\\Python37" | ||
- PYTHON: "C:\\Python37-x64" | ||
- PYTHON: "C:\\Python38" | ||
- PYTHON: "C:\\Python38-x64" | ||
|
||
install: | ||
- "%PYTHON%\\python.exe --version" | ||
- "%PYTHON%\\python.exe -m pip install --upgrade pip" | ||
- "%PYTHON%\\python.exe -m pip install --upgrade setuptools wheel" | ||
|
||
build: off | ||
|
||
test_script: | ||
- "%PYTHON%\\python.exe setup.py tests" | ||
|
||
after_test: | ||
- "%PYTHON%\\python.exe setup.py sdist bdist_wheel" | ||
|
||
artifacts: | ||
# bdist_wheel puts your built wheel in the dist directory | ||
- path: dist\* |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
language: python | ||
|
||
dist: xenial | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
python: 3.5 | ||
- os: linux | ||
python: 3.6 | ||
- os: linux | ||
python: 3.7 | ||
- os: linux | ||
python: 3.8 | ||
- os: osx | ||
language: generic | ||
env: PYTHON=3.5.9 | ||
- os: osx | ||
language: generic | ||
env: PYTHON=3.6.10 | ||
- os: osx | ||
language: generic | ||
env: PYTHON=3.7.6 | ||
- os: osx | ||
language: generic | ||
env: PYTHON=3.8.1 | ||
|
||
before_install: | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | ||
brew update | ||
brew outdated pyenv || brew upgrade pyenv | ||
brew install pyenv-virtualenv | ||
pyenv install --list | ||
pyenv install $PYTHON | ||
export PYENV_VERSION=$PYTHON | ||
pyenv virtualenv venv | ||
source /Users/travis/.pyenv/versions/${PYTHON}/envs/venv/bin/activate | ||
fi | ||
install: | ||
- python --version | ||
- python -m pip install --upgrade pip | ||
- python -m pip install --upgrade setuptools wheel | ||
|
||
script: | ||
- python setup.py tests |
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