mirror of https://github.com/apache/superset.git
34 lines
867 B
YAML
34 lines
867 B
YAML
language: python
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- deadsnakes
|
|
packages:
|
|
- python3.5
|
|
code_climate:
|
|
repo_token: 5f3a06c425eef7be4b43627d7d07a3e46c45bdc07155217825ff7c49cb6a470c
|
|
cache:
|
|
directories:
|
|
- $HOME/.wheelhouse/
|
|
env:
|
|
global:
|
|
- TRAVIS_CACHE=$HOME/.travis_cache/
|
|
matrix:
|
|
#- TOX_ENV=py27-mysql
|
|
- TOX_ENV=py27-sqlite
|
|
- TOX_ENV=py27-postgres
|
|
- TOX_ENV=py34-sqlite
|
|
- TOX_ENV=py34-mysql
|
|
- TOX_ENV=py34-postgres
|
|
- TOX_ENV=javascript
|
|
before_install:
|
|
- npm install -g npm@'>=2.7.1'
|
|
before_script:
|
|
- mysql -e 'drop database if exists caravel; create database caravel DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci' -u root
|
|
- psql -c 'create database caravel;' -U postgres
|
|
- export PATH=${PATH}:/tmp/hive/bin
|
|
install:
|
|
- pip install --upgrade pip
|
|
- pip install tox tox-travis
|
|
script: tox -e $TOX_ENV
|