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

Configure travis to build wheels #73

Merged
merged 1 commit into from
Sep 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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