forked from couchbase/couchbase-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (27 loc) · 1.26 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
language: python
notifications:
email:
branches:
except:
- failing-tests
env:
- CB_URL="http://packages.couchbase.com/releases/1.8.0/couchbase-server-community_x86_1.8.0.deb" CB_DEB="couchbase-server-community_x86_1.8.0.deb" CB_VER="1.8.0" CB_CONFIG_CMD=""
- CB_URL="http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_1.8.1-916-rel.deb" CB_DEB="couchbase-server-community_x86_1.8.1-916-rel.deb" CB_VER="1.8.1" CB_CONFIG_CMD="/opt/couchbase/bin/cbflushctl localhost:11210 set flushall_enabled true"
- CB_URL="http://packages.couchbase.com/builds/1482/couchbase-server-community_x86_2.0.0-1482-rel.deb" CB_DEB="couchbase-server-community_x86_2.0.0-1482-rel.deb" CB_VER="2.0.0" CB_CONFIG_CMD="/opt/couchbase/bin/cbepctl localhost:11210 set flush_param flushall_enabled true"
python:
- "2.6"
- "2.7"
before_install:
- sudo service memcached stop
- sudo cp ./conf/couchbase.conf /etc/security/limits.d/
- sudo chmod 644 /etc/security/limits.d/couchbase.conf
- wget -q $CB_URL
- sudo dpkg -i $CB_DEB
- sudo chmod a+x cluster_connect
- ./cluster_connect -n 1
- cp test.ini.template test.ini
- $CB_CONFIG_CMD
install:
- pip install nose-testconfig coverage requests
script: python setup.py nosetests