2015-10-20 01:27:13 -04:00
|
|
|
cache:
|
2018-10-04 17:54:44 -04:00
|
|
|
pip: true
|
|
|
|
jobs:
|
2018-04-18 00:30:12 -04:00
|
|
|
include:
|
2018-10-04 17:54:44 -04:00
|
|
|
- language: python
|
|
|
|
python: 3.6
|
2018-11-15 15:26:33 -05:00
|
|
|
env: TOXENV=cypress-dashboard
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
before_install:
|
2018-12-21 13:24:49 -05:00
|
|
|
- nvm install 10.14.2
|
2018-11-15 15:26:33 -05:00
|
|
|
- language: python
|
|
|
|
python: 3.6
|
|
|
|
env: TOXENV=cypress-explore
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
before_install:
|
2018-12-21 13:24:49 -05:00
|
|
|
- nvm install 10.14.2
|
2018-11-15 15:26:33 -05:00
|
|
|
- language: python
|
|
|
|
python: 3.6
|
|
|
|
env: TOXENV=cypress-sqllab
|
2018-10-04 17:54:44 -04:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
before_install:
|
2018-12-21 13:24:49 -05:00
|
|
|
- nvm install 10.14.2
|
2018-10-04 17:54:44 -04:00
|
|
|
- language: python
|
2018-10-05 13:44:45 -04:00
|
|
|
python: 3.6
|
|
|
|
env: TOXENV=py36-mysql
|
2018-10-04 17:54:44 -04:00
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
- redis-server
|
|
|
|
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';"
|
2018-12-21 13:24:49 -05:00
|
|
|
- language: python
|
|
|
|
env: TOXENV=javascript
|
2018-10-04 17:54:44 -04:00
|
|
|
before_install:
|
2018-12-21 13:24:49 -05:00
|
|
|
- nvm install 10.14.2
|
2018-10-04 17:54:44 -04:00
|
|
|
- language: python
|
|
|
|
python: 3.6
|
2018-04-18 00:30:12 -04:00
|
|
|
env: TOXENV=flake8
|
2018-10-04 17:54:44 -04:00
|
|
|
- language: python
|
|
|
|
python: 3.6
|
2018-04-18 00:30:12 -04:00
|
|
|
env: TOXENV=py36-sqlite
|
2018-10-04 17:54:44 -04:00
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
- language: python
|
|
|
|
python: 3.6
|
|
|
|
env: TOXENV=py36-postgres
|
|
|
|
services:
|
|
|
|
- postgres
|
|
|
|
- redis-server
|
|
|
|
before_script:
|
|
|
|
- psql -U postgres -c "CREATE DATABASE superset;"
|
|
|
|
- psql -U postgres -c "CREATE USER postgresuser WITH PASSWORD 'pguserpassword';"
|
|
|
|
- language: python
|
|
|
|
python: 3.6
|
2018-04-18 00:30:12 -04:00
|
|
|
env: TOXENV=pylint
|
2015-09-28 16:58:47 -04:00
|
|
|
install:
|
2016-06-09 21:05:58 -04:00
|
|
|
- pip install --upgrade pip
|
2018-04-10 18:59:44 -04:00
|
|
|
- pip install codecov tox
|
|
|
|
script:
|
|
|
|
- tox
|
2018-03-04 15:49:55 -05:00
|
|
|
after_success:
|
|
|
|
- codecov
|
2018-12-21 13:24:49 -05:00
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
directories:
|
|
|
|
- ~/.npm
|
|
|
|
- ~/.cache
|