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 #68 from cfpb/travis-build-wheels
Browse files Browse the repository at this point in the history
configure travis to generate wheel artifacts
  • Loading branch information
rosskarchner committed Sep 21, 2017
2 parents c068461 + 305866b commit 7fd1db2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 27 deletions.
47 changes: 22 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
sudo: required

language: python
cache: pip

python:
- 2.7

- 2.7
nodejs: 6
services:
- mysql

- mysql
before_install:
- rm -rf ~/.nvm
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
- source ~/.nvm/nvm.sh
- nvm install 6
- npm install -g npm
- ./.travis-install-mysql-5.7.sh
- mysql -uroot -e "CREATE USER 'eregs'@'localhost' IDENTIFIED BY 'eregs';"
- mysql -uroot -e "GRANT ALL PRIVILEGES ON \`test_%\`.* TO 'eregs'@'localhost';"

install:
pip install tox coveralls

- npm install -g npm
- ./.travis-install-mysql-5.7.sh
- mysql -uroot -e "CREATE USER 'eregs'@'localhost' IDENTIFIED BY 'eregs';"
- mysql -uroot -e "GRANT ALL PRIVILEGES ON \`test_%\`.* TO 'eregs'@'localhost';"
install: pip install tox coveralls
before_script:
- ./setup.sh

- ./setup.sh
script:
- npm test
- TOXENV=dj18 tox

after_success:
coveralls
- npm test
- TOXENV=dj18 tox
- python2.7 setup.py bdist_wheel
after_success: coveralls
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: UQZ16cdJ48IHL4Ve4oZ9zkKQqRAeDi9wMPb5RJGM3FnoVAONV5lHQTKdH2FulfRvXBa5JK1x5fcjivaKczS0uIDbcyKiKWiMI44xyFl22FLnpq6OWX55TFe8YpF+UFHcB63bej4Nxsicnug/zkW26xS9ZrwMRgz+xjoIDZRmEi5NdDtwIsqClpfFfLm3Kdhs7plYlXi1K2GLUcJY3UVfwvFd6EQhsuAMtwvZ56AaOQiYBCjWTTzXUaYK/ythYMZBIm/rDCDLsItFzdGyIv3IfFyJPzwmITWupJ90FbXiaXqF3eMtbHZa54JMmVkU3smnSgdqvQFDNfOoz+WEdX47IhmNQV5L7QaN0uSXcBmxl6J2ud/bh4024hk60Cey4KPdEv7h8fKPTwe4Uer70b3h6OoL4fmGJM0ny6y6ka0zS1Hq2A/oSJ1bUbmiucFNL1eggCqknFdo45Mc/AVTtDf1wUahUGF07LV+PwaFz5BTPfaIzxJVplJQAQrR8EivWkymLKtPmVduvb11GPLnphdPMvzCqVH+3Gqh0ApH6nhD/AyHij/t1Wj/BcPHtz2FPxkXcHSvTyX49GelXBz9kutBaea+QcCmFZR3YVxZHHtvKDY4IgNLedXjHYVBcKEIOvwYy81rCP+pzImhijeu4TnaHF1DjC2HWMia7kowJiadqi4=
file_glob: true
file: dist/*.whl
on:
tags: true
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include CHANGELOG.md CONTRIBUTING.md LICENSE README.md TERMS.md
recursive-include eregs_core *.py *.html *.js
recursive-include eregs_core *.py *.html *.js *.css
prune eregs_core/static/regulations/js/unittests/coverage
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from distutils.core import setup
from setuptools import setup


install_requires = (
Expand Down

0 comments on commit 7fd1db2

Please sign in to comment.