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:
    - PythonPackage@couchbase.com

language: python
sudo: false

python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

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 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:
    - PythonPackage@couchbase.com

Update Travis configuration to reflect supported platforms
PYCBC-492: Update Travis configuration to reflect supported platforms

Change-Id: I9db25c482b5ec77dc4ef97d3602648efb39b9a20
Reviewed-on: http://review.couchbase.org/94767
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Mike Goldsmith <c43a3c67d7a1203c37ce25b098df0254011e1ce6@gmail.com>
