sudo: false

language: python
python:
  - "2.7"

# Install pip using apt
addons:
  apt:
    packages:
    - python-pip

# Install dependencies using pip
install:
  - pip install autopep8
  - pip install docformatter
  - pip install flake8
  - pip install nose
  # TODO: Change this to 'pip install pycheker' once pycheker starts working
  # with pip. pip install of pycheker is broken at the moment.
  - pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download
  - pip install pylint
  - pip install snakefood

# command to run tests
script: ./static_tests.sh

sudo: false

language: python
python:
  - "2.7"

install:
  # Install dependencies using pip
  - pip install autopep8
  - pip install docformatter
  - pip install flake8
  - pip install nose
  # TODO: Change this to 'pip install pycheker' once pycheker starts working
  # with pip. pip install of pycheker is broken at the moment.
  - pip install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download
  - pip install pylint
  - pip install snakefood

# command to run tests
script: ./static_tests.sh

Remove python-pip as apt dependency
Meta: Remove python-pip as apt dependency

Travis CI automatically setups a virtual environment when the language
is set to python so there's no need for us to try to install pip
separately as it is already installed on Travis CI.

Test plan:
$ ./precommit.sh

Ensure that build passes successfully on Travis CI.
