Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit edc9849

Browse files
committed
Travis CI integration
1 parent 73c2370 commit edc9849

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

.travis.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
sudo: false
2+
language: python
3+
python:
4+
- 3.6
5+
- 3.7
6+
- 3.8
7+
- pypy3
8+
addons:
9+
apt:
10+
packages:
11+
-
12+
install:
13+
- pip install codecov
14+
- pip install tox
15+
- pip install isort
16+
- pip install tox-travis
17+
script:
18+
- codecov --version
19+
- tox
20+
- isort --check src tests
21+
after_success:
22+
- codecov
23+
notifications:
24+
email: false
25+
deploy:
26+
provider: pypi
27+
on:
28+
tags: true
29+
distributions: bdist_wheel
30+
skip_existing: true
31+
user: __token__
32+
password:
33+
secure: AH3jGGXVjV/oOlg4cOnsN7pURlZ7JMcd3Prr69Q++rxfsrmFpxCPtQLpO0LUNPisfyctoImpY64auNMHh20AHdlnvXQu8k/YFZCVcyK6N2d66wgJbO9AOT21N6IkFGyW11K3lYIHzURv9RsTEhzSkOhKmPUack5UhSJ+yAUTZXpt6iZqXBvmxMNzNiCLQdUmTMj4HxxkUVPabpef8PLqyDXvAxJxOCss+QcJVZuWFs85Niw0scTkU4SWz2lhOxeqQNg8s+CEgje2KaIoRy2kETywK53G3RFkSp5ytIJPp8RQK039laeal5yjMsWP4KlbDhHrywyNN7yS69FwPuLC41ppde5G054WcuJTm60Y2uckGu6L3oTBMHsAtSfZuEym/qfDngxYADA+xrATJQF5XSrCz13IiBnoz8Y9zI7t9s66PZSBHg99L85jM45M2kJYCDKxNPffJ/JzCnAMTP0yiBMEQ/UfguMDfJMw+6oSPzGcZHuQVzjLO5mUni71X528Psd/iEYCyN+Vi1QbvDZjbNo/oOLtvegOcnu/H1tGWkH4uEXsg2giqkld2hrZi6K3KfcpPtltuP66Z6ohMqcLegqGUNr8mPMP2I58p7if/6xLEu1e7MNZuoV459bnWepoNMMug2NLq/WIPCiGLNCyV4tdbzqcZQLNwjc5ruFLoz8=

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def run_tests(self):
6262
classifiers=[
6363
"Development Status :: 4 - Beta",
6464
"License :: OSI Approved :: Apache Software License",
65-
"Programming Language :: Python :: 3.5",
6665
"Programming Language :: Python :: 3.6",
6766
"Programming Language :: Python :: 3.7",
67+
"Programming Language :: Python :: 3.8",
6868
"Topic :: Software Development :: Libraries :: Python Modules"],
6969
install_requires=[
7070
"pyyaml>=5.1.0",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ setenv =
77
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
88
commands =
99
pipenv install --dev
10-
pipenv run py.test --cov-report= --cov=oic tests/ -m "not network" {posargs}
10+
pipenv run py.test tests/ -m "not network" {posargs}
1111
; Transform absolute path to relative path for compatibility with coveralls.io and fix 'source not available' error.
1212
pipenv run python -c "import os;cov_strip_abspath = open(os.environ['COVERAGE_FILE'], 'r').read().replace('.tox' + os.sep + os.path.relpath('{envsitepackagesdir}', '{toxworkdir}'), 'src');open(os.environ['COVERAGE_FILE'], 'w').write(cov_strip_abspath)"
1313
deps = pipenv

0 commit comments

Comments
 (0)