forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[travis/tox] Restructuring configuration (apache#4552)
- Loading branch information
1 parent
17ade63
commit a2f282a
Showing
13 changed files
with
177 additions
and
189 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,30 +1,30 @@ | ||
language: python | ||
services: | ||
- mysql | ||
- postgres | ||
- redis-server | ||
cache: | ||
directories: | ||
- $HOME/.wheelhouse/ | ||
- pip | ||
env: | ||
global: | ||
- TRAVIS_CACHE=$HOME/.travis_cache/ | ||
matrix: | ||
- TOX_ENV=flake8 | ||
- TOX_ENV=javascript | ||
- TOX_ENV=pylint | ||
- TOX_ENV=py34-postgres | ||
- TOX_ENV=py34-sqlite | ||
- TOX_ENV=py27-mysql | ||
- TOX_ENV=py27-sqlite | ||
- TOXENV=javascript | ||
- TOXENV=py27-flake8 | ||
- TOXENV=py27-mysql | ||
- TOXENV=py27-sqlite | ||
- TOXENV=py27-pylint | ||
- TOXENV=py34-flake8 | ||
- TOXENV=py34-postgres | ||
- TOXENV=py34-pylint | ||
- TOXENV=py34-sqlite | ||
before_script: | ||
- mysql -u root -e "DROP DATABASE IF EXISTS superset; CREATE DATABASE superset DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci" | ||
- mysql -u root -e "CREATE USER 'mysqluser'@'localhost' IDENTIFIED BY 'mysqluserpassword';" | ||
- mysql -u root -e "GRANT ALL ON superset.* TO 'mysqluser'@'localhost';" | ||
- psql -U postgres -c "CREATE DATABASE superset;" | ||
- psql -U postgres -c "CREATE USER postgresuser WITH PASSWORD 'pguserpassword';" | ||
- export PATH=${PATH}:/tmp/hive/bin | ||
install: | ||
- pip install --upgrade pip | ||
- pip install codecov tox tox-travis | ||
script: tox -e $TOX_ENV | ||
- pip install codecov tox | ||
script: | ||
- tox | ||
after_success: | ||
- codecov |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
sphinx==1.7.1 | ||
sphinx-rtd-theme==0.2.4 | ||
sphinxcontrib.youtube==0.1.2 |
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
flask-cors==3.0.3 | ||
ipdb==0.11 | ||
mysqlclient==1.3.12 | ||
psycopg2==2.7.4 | ||
redis==2.10.6 | ||
statsd==3.2.2 | ||
tox==2.9.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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
bleach==2.1.2 | ||
boto3==1.4.7 | ||
celery==4.1.0 | ||
colorama==0.3.9 | ||
cryptography==1.9 | ||
flask==0.12.2 | ||
flask-appbuilder==1.10.0 | ||
flask-cache==0.13.1 | ||
flask-compress==1.4.0 | ||
flask-migrate==2.1.1 | ||
flask-script==2.0.6 | ||
flask-sqlalchemy==2.1 | ||
flask-testing==0.7.1 | ||
flask-wtf==0.14.2 | ||
flower==0.9.2 | ||
future==0.16.0 | ||
geopy==1.11.0 | ||
gunicorn==19.7.1 | ||
humanize==0.5.1 | ||
idna==2.6 | ||
markdown==2.6.11 | ||
pandas==0.22.0 | ||
parsedatetime==2.0.0 | ||
pathlib2==2.3.0 | ||
polyline==1.3.2 | ||
pydruid==0.4.1 | ||
pyhive==0.5.0 | ||
python-dateutil==2.6.1 | ||
python-geohash==0.8.5 | ||
pyyaml==3.12 | ||
requests==2.18.4 | ||
simplejson==3.13.2 | ||
six==1.11.0 | ||
sqlalchemy==1.2.2 | ||
sqlalchemy-utils==0.32.21 | ||
sqlparse==0.2.4 | ||
thrift==0.11.0 | ||
thrift-sasl==0.3.0 | ||
unicodecsv==0.14.1 | ||
unidecode==1.0.22 |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -50,56 +50,50 @@ def get_git_sha(): | |
zip_safe=False, | ||
scripts=['superset/bin/superset'], | ||
install_requires=[ | ||
'bleach', | ||
'boto3>=1.4.6', | ||
'celery==4.1.0', | ||
'colorama==0.3.9', | ||
'cryptography==1.9', | ||
'flask==0.12.2', | ||
'flask-appbuilder==1.10.0', | ||
'flask-cache==0.13.1', | ||
'flask-migrate==2.1.1', | ||
'flask-script==2.0.6', | ||
'flask-compress==1.4.0', | ||
'flask-sqlalchemy==2.1', | ||
'flask-testing==0.7.1', | ||
'flask-wtf==0.14.2', | ||
'flower==0.9.2', # deprecated | ||
'celery', | ||
'colorama', | ||
'cryptography', | ||
'flask', | ||
'flask-appbuilder', | ||
'flask-cache', | ||
'flask-compress', | ||
'flask-migrate', | ||
'flask-script', | ||
'flask-sqlalchemy', | ||
'flask-testing', | ||
'flask-wtf', | ||
'flower', # deprecated | ||
'future>=0.16.0, <0.17', | ||
'geopy==1.11.0', | ||
'python-geohash==0.8.5', | ||
'humanize==0.5.1', | ||
'gunicorn==19.7.1', # deprecated | ||
'idna==2.6', | ||
'markdown==2.6.11', | ||
'pandas==0.22.0', | ||
'parsedatetime==2.0.0', | ||
'pathlib2==2.3.0', | ||
'polyline==1.3.2', | ||
'pydruid==0.4.1', | ||
'PyHive>=0.4.0', | ||
'python-dateutil==2.6.1', | ||
'geopy', | ||
'gunicorn', # deprecated | ||
'humanize', | ||
'idna', | ||
'markdown', | ||
'pandas', | ||
'parsedatetime', | ||
'pathlib2', | ||
'polyline', | ||
'pydruid', | ||
'pyhive>=0.4.0', | ||
'python-dateutil', | ||
'python-geohash', | ||
'pyyaml>=3.11', | ||
'requests==2.18.4', | ||
'simplejson==3.13.2', | ||
'six==1.11.0', | ||
'sqlalchemy==1.2.2', | ||
'sqlalchemy-utils==0.32.21', | ||
'sqlparse==0.2.4', | ||
'requests', | ||
'simplejson', | ||
'six', | ||
'sqlalchemy', | ||
'sqlalchemy-utils', | ||
'sqlparse', | ||
'thrift>=0.9.3', | ||
'thrift-sasl>=0.2.1', | ||
'unicodecsv', | ||
'unidecode>=0.04.21', | ||
'unicodecsv==0.14.1', | ||
'bleach==2.1.2', | ||
], | ||
extras_require={ | ||
'cors': ['Flask-Cors>=2.0.0'], | ||
'cors': ['flask-cors>=2.0.0'], | ||
}, | ||
tests_require=[ | ||
'coverage', | ||
'mock', | ||
'nose', | ||
'redis', | ||
], | ||
author='Maxime Beauchemin', | ||
author_email='[email protected]', | ||
url='https://github.com/apache/incubator-superset', | ||
|
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
Oops, something went wrong.