-
Notifications
You must be signed in to change notification settings - Fork 538
/
.travis.yml
58 lines (56 loc) · 1.34 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: python
python:
- 3.5
- 3.4
- 2.7
sudo: false
addons:
apt:
packages:
- libev4
- libev-dev
notifications:
email:
cache: pip
env:
- CASSANDRA_DRIVER="3.7.1"
- CASSANDRA_DRIVER="3.6.0"
- CASSANDRA_DRIVER="3.5.0"
- CASSANDRA_DRIVER="3.4.1"
- CASSANDRA_DRIVER="3.3.0"
- CASSANDRA_DRIVER="3.2.2"
- CASSANDRA_DRIVER="3.1.1"
- CASSANDRA_DRIVER="3.0.0"
- CASSANDRA_DRIVER="2.7.2"
matrix:
fast_finish: true
exclude:
- python: 3.5
env: CASSANDRA_DRIVER="3.3.0"
- python: 3.5
env: CASSANDRA_DRIVER="3.2.2"
- python: 3.5
env: CASSANDRA_DRIVER="3.1.1"
- python: 3.5
env: CASSANDRA_DRIVER="3.0.0"
- python: 3.5
env: CASSANDRA_DRIVER="2.7.2"
- python: 3.4
env: CASSANDRA_DRIVER="3.3.0"
services:
- redis
- cassandra
before_install:
- git clone https://github.com/tbarbugli/stream_framework_example.git pinterest_example
before_script:
- echo 'DROP KEYSPACE test_stream_framework;' | /usr/local/cassandra/bin/cqlsh;
install:
- pip install --upgrade pip
- pip install cassandra-driver==$CASSANDRA_DRIVER
- pip install -e .[redis,cassandra]
- pip freeze
- pip install cassandra-driver==$CASSANDRA_DRIVER
script:
- CQLENG_ALLOW_SCHEMA_MANAGEMENT="yes" py.test -l --tb=short stream_framework/tests