-
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.
Merge pull request #32 from uw-it-aca/qa
Qa
- Loading branch information
Showing
5 changed files
with
47 additions
and
27 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,18 +1,31 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.6" | ||
before_install: | ||
- cp travis-ci/test_requirements.txt requirements.txt | ||
install: pip install -r requirements.txt | ||
- '2.7' | ||
- '3.4' | ||
- '3.5' | ||
- '3.6' | ||
before_script: | ||
- pip install coverage | ||
- pip install python-coveralls | ||
- pip install pep8 | ||
- cp travis-ci/manage.py manage.py | ||
- pip install -e . | ||
- pip install pep8 | ||
- pip install coverage | ||
- pip install python-coveralls | ||
- cp travis-ci/manage.py manage.py | ||
script: | ||
- pep8 blti/ | ||
- coverage run --source=blti manage.py test blti | ||
after_script: | ||
- coveralls | ||
- pep8 blti/ | ||
- coverage run --source=blti manage.py test blti | ||
after_success: | ||
- coveralls | ||
before_deploy: | ||
- find blti/ -name \*.pyc -exec rm {} \; | ||
- echo $TRAVIS_TAG > blti/VERSION | ||
deploy: | ||
provider: pypi | ||
server: https://pypi.python.org/pypi | ||
user: uw-it-aca | ||
skip_cleanup: true | ||
password: | ||
secure: dy9zyEUl6vrWeshxQoXpKBPVEofXfKQqHMpKpNyqKTcct1vVNimKeN2cuM7bOy9mDpZKVGIJKci+xdGAZfZ16DOJ/9Lg6tg2EcNjXM3CnT2Vw3HbFa5OZRRoWgOJbEejVDCTYGQyXSP8ekdgv92iXeSagq3MqJzZ1Xa9jGn1ykU= | ||
on: | ||
tags: true | ||
python: '3.5' |
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,2 @@ | ||
include blti/VERSION | ||
recursive-include blti * |
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 @@ | ||
0.1 |
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,38 +1,43 @@ | ||
#!/usr/bin/env python | ||
|
||
import os | ||
from setuptools import setup | ||
|
||
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read() | ||
README = """ | ||
See the README on `GitHub | ||
<https://github.com/uw-it-aca/django-blti>`_. | ||
""" | ||
|
||
# The VERSION file is created by travis-ci, based on the tag name | ||
version_path = 'blti/VERSION' | ||
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read() | ||
VERSION = VERSION.replace("\n", "") | ||
|
||
# allow setup.py to be run from any path | ||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) | ||
|
||
setup( | ||
name='django-blti', | ||
version='0.5', | ||
version=VERSION, | ||
packages=['blti'], | ||
include_package_data=True, | ||
install_requires = [ | ||
'setuptools', | ||
'django', | ||
install_requires=[ | ||
'Django>=1.10,<1.11', | ||
'oauth2', | ||
'PyCrypto' | ||
'PyCrypto', | ||
], | ||
license='Apache License, Version 2.0', # example license | ||
license='Apache License, Version 2.0', | ||
description='A Django Application on which to build IMS BLTI Tool Providers', | ||
long_description=README, | ||
url='https://github.com/uw-it-aca/django-blti', | ||
author = "UW-IT ACA", | ||
author_email = "mikes@uw.edu", | ||
author="UW-IT AXDD", | ||
author_email="aca-it@uw.edu", | ||
classifiers=[ | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', # example license | ||
'License :: OSI Approved :: Apache Software License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.6', | ||
], | ||
) |
This file was deleted.
Oops, something went wrong.