forked from dropbox/PyHive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 996 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: required
language: python
matrix:
include:
# https://docs.python.org/devguide/#status-of-python-branches
# One build pulls latest versions dynamically
- python: 3.6
env: CDH=cdh5 CDH_VERSION=5 PRESTO=RELEASE SQLALCHEMY=sqlalchemy
# Others use pinned versions.
- python: 3.5
env: CDH=cdh5 CDH_VERSION=5.10.1 PRESTO=0.147 SQLALCHEMY=sqlalchemy==1.0.12
- python: 3.4
env: CDH=cdh5 CDH_VERSION=5.10.1 PRESTO=0.147 SQLALCHEMY=sqlalchemy==1.0.12
- python: 2.7
env: CDH=cdh5 CDH_VERSION=5.10.1 PRESTO=0.147 SQLALCHEMY=sqlalchemy==1.0.12
# stale stuff we're still using / supporting
- python: 2.7
env: CDH=cdh5 CDH_VERSION=5.10.1 PRESTO=0.147 SQLALCHEMY=sqlalchemy==0.5.8
# exclude: python 3 against old libries
install:
- ./scripts/travis-install.sh
- pip install codecov
# sleep so Presto has time to start up. Otherwise we might get 'No nodes available to run query'
script: sleep 10 && py.test -v
after_success: codecov