This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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 #68 from cfpb/travis-build-wheels
configure travis to generate wheel artifacts
- Loading branch information
Showing
3 changed files
with
24 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,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 |
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,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 |
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,4 +1,4 @@ | ||
from distutils.core import setup | ||
from setuptools import setup | ||
|
||
|
||
install_requires = ( | ||
|