forked from couchbase/couchbase-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 928 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
26
27
28
29
30
31
language: python
python:
- "2.7"
- "2.6"
- "3.2"
- "3.3"
before_install:
- sudo rm -rf /etc/apt/sources.list.d/*
- wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
- echo deb http://packages.couchbase.com/ubuntu precise precise/main | sudo tee /etc/apt/sources.list.d/couchbase.list
- sudo apt-get update
- sudo apt-cache search libcouchbase
install:
- sudo apt-get -y install libcouchbase-dev libcouchbase2-core libcouchbase2-libevent libevent-dev
- pip -q install gevent || echo "Couldn't find gevent"
- pip -q install twisted
- pip -q install testresources
- export CFLAGS='-Wextra -Wno-long-long -Wno-missing-field-initializers'
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-strict-aliasing"
- python setup.py build_ext --inplace
- sudo $(which python) setup.py install
script:
- ./.ci_script.sh
notifications:
email: