Skip to content

Commit 6518aa9

Browse files
author
Jiaqi Liu
authored
Merge pull request #8 from uc-cdis/chore/py3
Python3 support for cdis_oauth2client
2 parents b09480e + 19cbc66 commit 6518aa9

File tree

6 files changed

+203
-113
lines changed

6 files changed

+203
-113
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
language: python
22
dist: xenial
33
python:
4-
- 2.7
4+
- 3.6
55
install:
66
- pip install pipenv
77
- pipenv install --dev --deploy --python `which python`
88
- pipenv graph
9-
script: pipenv run python setup.py test
9+
- pipenv run python setup.py install
10+
script: pipenv run py.test -v
1011
before_deploy:
1112
- sed -i.bak "s/=get_version()/='$TRAVIS_TAG'/g" setup.py
1213
- cat setup.py
@@ -17,7 +18,7 @@ deploy:
1718
skip_existing: true
1819
skip_cleanup: true
1920
on:
20-
python: 2.7
21+
python: 3.6
2122
repo: uc-cdis/cdis_oauth2client
2223
tags: true
2324
password:

Pipfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7+
pytest = "*"
78

89
[packages]
910
cdis-oauth2client = {editable = true,path = "."}
11+
12+
[requires]
13+
python_version = "3.6"

Pipfile.lock

Lines changed: 168 additions & 104 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)