language: python
python:
  - "2.6"
  - "2.7"
# Need mongodb for testing
services: mongodb
# command to install dependencies
install: "pip install -r requirements_for_tests.txt --use-mirrors"
# command to run tests
script: nosetests && behave
branches:
  except:
    - master
    - release

language: python
python:
  - "2.6"
  - "2.7"
# Need mongodb for testing
services: mongodb
# command to install dependencies
install: "pip install -r requirements_for_tests.txt --use-mirrors"
# command to run tests
script: nosetests && behave && ./pep-it.sh
branches:
  except:
    - master
    - release

Check PEP8 in Travis CI
Check PEP8 in Travis CI

It can fail a build in Jenkins so it should fail the build in Travis.
