language: python
python:
  - "2.7"

# command to install dependencies
install: ./meta/install_devtools.sh

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

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

Upgrade Travis-CI to new infrastructure
Meta: Upgrade Travis-CI to new infrastructure

The new Travis CI container-based infrastructure is faster and more
powerful. The new infrastructure does not allows us to use sudo so need
to make certain changes accordingly.

Test plan:
$ ./precommit.sh

Ensure that builds pass on Travis with these set of changes.

Fixes #44
