Skip to content
This repository was archived by the owner on Sep 26, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,22 @@
language: python
python:
- "2.7"
- "3.5"

# command to install dependencies
install: "pip install -r common/requirements.txt"
- "3.6"

# if we don't need sudo we can run in containers
sudo: false

# command to install dependencies
install:
- "pip install -r common/requirements.txt"
- pip install flake8

before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

# test common
script: nosetests --where common ccm.common

Expand Down