forked from couchbase/couchbase-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (33 loc) · 873 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
32
33
34
35
36
37
38
language: python
sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
addons:
apt:
sources:
- couchbase-trusty
packages:
- libcouchbase-dev
- libcouchbase2-libevent
install:
- pip -q install testresources==0.2.7
- pip -q install -r dev_requirements.txt
- pip -q install gevent || echo "Couldn't install gevent"
- pip -q install twisted || echo "Couldn't install Twisted"
- git describe --tags --long --always
- python setup.py build_ext --inplace
- python setup.py install
script:
- python -m couchbase.bucket
- cp .tests.ini.travis tests.ini
- nosetests -v couchbase_tests.test_sync
- nosetests -v acouchbase
- nosetests -v gcouchbase.tests.test_api || echo "Gevent tests failed"
- nosetests -v txcouchbase || echo "Twisted tests failed"
notifications:
email: