Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 924 Bytes
language: python
sudo: false
python:
- "2.7"
- "2.6"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
addons:
apt:
sources:
- couchbase-precise
packages:
- libcouchbase-dev
- libcouchbase2-libevent
install:
- pip -q install testresources==0.2.7
- pip -q install -r dev_requirements.txt
- pip -q install -r 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:
- mike.goldsmith@couchbase.com