-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from robertopreste/test_travis
CI: Update Travis config
- Loading branch information
Showing
1 changed file
with
54 additions
and
21 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,27 +1,60 @@ | ||
# Config file for automatic testing at travis-ci.com | ||
|
||
language: python | ||
python: | ||
- 3.7 | ||
- 3.6 | ||
matrix: | ||
include: | ||
- name: "Python 3.6.5 on macOS 10.13.6 (xcode 9.4)" | ||
os: osx | ||
osx_image: xcode9.4 | ||
language: shell | ||
before_install: | ||
- python3 --version | ||
- pip3 install -U pip | ||
- pip3 install -r requirements.txt | ||
install: pip3 install -e . | ||
script: | ||
- pytest --cov=./ | ||
- flake8 allfreqs | ||
- name: "Python 3.7.5 on macOS 10.14.4 (xcode 10.2)" | ||
os: osx | ||
osx_image: xcode10.2 | ||
language: shell | ||
before_install: | ||
- python3 --version | ||
- pip3 install -U pip | ||
- pip3 install -r requirements.txt | ||
install: pip3 install -e . | ||
script: | ||
- pytest --cov=./ | ||
- flake8 allfreqs | ||
- name: "Python 3.6.7 on Ubuntu 16.04" | ||
os: linux | ||
language: python | ||
python: 3.6 | ||
before_install: | ||
- python3 --version | ||
- pip3 install -U pip | ||
- pip3 install -r requirements.txt | ||
install: pip3 install -e . | ||
script: | ||
- pytest --cov=./ | ||
- flake8 allfreqs | ||
- name: "Python 3.7.1 on Ubuntu 16.04" | ||
os: linux | ||
language: python | ||
python: 3.7 | ||
before_install: | ||
- python3 --version | ||
- pip3 install -U pip | ||
- pip3 install -r requirements.txt | ||
install: pip3 install -e . | ||
script: | ||
- pytest --cov=./ | ||
- flake8 allfreqs | ||
after_success: | ||
- codecov | ||
|
||
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
install: pip install -U tox-travis | ||
#install: pip install -U tox-travis | ||
|
||
# Command to run tests, e.g. python setup.py test | ||
script: tox | ||
|
||
# Assuming you have installed the travis-ci CLI tool, after you | ||
# create the Github repo and add it to Travis, run the | ||
# following command to finish PyPI deployment setup: | ||
# $ travis encrypt --add deploy.password | ||
deploy: | ||
provider: pypi | ||
distributions: sdist bdist_wheel | ||
user: robertopreste | ||
password: | ||
secure: PLEASE_REPLACE_ME | ||
on: | ||
tags: true | ||
repo: robertopreste/allfreqs | ||
python: 3.6 | ||
#script: tox |