Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Merge pull request #73 from cfpb/travis-build-wheels
Browse files Browse the repository at this point in the history
Configure travis to build wheels
  • Loading branch information
rosskarchner authored Sep 21, 2017
2 parents 24af5ae + aa70c8f commit b3c5354
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
23 changes: 16 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
language: python
sudo: false
python:
- "2.7"
install:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
- '2.7'
install:
- pip install -r requirements.txt
- pip install -r requirements_test.txt
script:
python manage.py test
after_success:
coveralls
- python manage.py test
- python setup.py bdist_wheel
after_success: coveralls
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: MTnPUQhwYSgaTSWw6/TKhqwOnwtBj5ahRIpze6D7Rqy4551TWNNF/BmMxy1k30ml6y3/GRk2xMSbLoHkB0yQ8cVFflJvznE6Bv4dAI/iyB4Hgy977a3x2Jw6fIa4e+hGiS8BkkQFyUb/PFWUM0oKQ9xdYLa6WSIXbuaH3tUzQy4=
file_glob: true
file: dist/*.whl
on:
tags: true
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
from setuptools import setup, find_packages

setup(
name = "regcore",
version = "1.2.1",
license = "public domain",
packages = find_packages(),
name="regcore",
version_format='{tag}.dev{commitcount}+{gitsha}',
license="public domain",
packages=find_packages(),
include_package_data=True,
package_data = {
package_data={
'regcore': ['templates/search/indexes/regcore/regulation_text.txt'],
},
install_requires=[
'django',
'django-haystack',
'jsonschema',
],
setup_requires=['setuptools-git-version==1.0.3'],
classifiers=[
'License :: Public Domain',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication'
Expand Down

0 comments on commit b3c5354

Please sign in to comment.