2015-09-28 14:51:20 -04:00
|
|
|
language: python
|
2016-06-09 21:05:58 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- deadsnakes
|
|
|
|
packages:
|
|
|
|
- python3.5
|
2015-10-20 01:27:13 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.wheelhouse/
|
2016-06-09 21:05:58 -04:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TRAVIS_CACHE=$HOME/.travis_cache/
|
|
|
|
matrix:
|
|
|
|
#- TOX_ENV=py27-mysql
|
|
|
|
- TOX_ENV=py27-sqlite
|
2016-06-12 14:01:16 -04:00
|
|
|
- TOX_ENV=py27-postgres
|
2016-06-09 21:05:58 -04:00
|
|
|
- TOX_ENV=py34-sqlite
|
|
|
|
- TOX_ENV=py34-mysql
|
2016-06-12 14:01:16 -04:00
|
|
|
- TOX_ENV=py34-postgres
|
2016-06-09 21:05:58 -04:00
|
|
|
- TOX_ENV=javascript
|
2016-03-27 17:22:28 -04:00
|
|
|
before_install:
|
2016-04-03 02:24:36 -04:00
|
|
|
- npm install -g npm@'>=2.7.1'
|
2016-06-09 21:05:58 -04:00
|
|
|
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
|
2015-09-28 16:58:47 -04:00
|
|
|
install:
|
2016-06-09 21:05:58 -04:00
|
|
|
- pip install --upgrade pip
|
|
|
|
- pip install tox tox-travis
|
|
|
|
script: tox -e $TOX_ENV
|