language: python

sudo: false

python:
  - 2.6
  - 2.7
  - 3.2
  - 3.3
  - 3.4
  - 3.5
  - 3.6

install:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.6 || $TRAVIS_PYTHON_VERSION == 3.2 || $TRAVIS_PYTHON_VERSION == 3.3 ]]; then
        pip install flake8==2.6.0;
    else
        pip install flake8;
    fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3.2 ]]; then
        pip install coverage==3.7.1;
    else
        pip install coverage;
    fi
  - pip install pytest-cov
  - pip install coveralls

before_script:
  - flake8 --max-line-length=140 galena/galena.py tests/test_galena.py

script:
  - py.test --cov=.

after_success:
  - coveralls

language: python

sudo: false

python:
  - 2.6
  - 2.7
  - 3.2
  - 3.3
  - 3.4
  - 3.5
  - 3.6

install:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.6 || $TRAVIS_PYTHON_VERSION == 3.2 || $TRAVIS_PYTHON_VERSION == 3.3 ]]; then
        pip install flake8==2.6.0;
    else
        pip install flake8;
    fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3.2 ]]; then
        pip install coverage==3.7.1;
    else
        pip install coverage;
    fi
  - pip install pytest-cov
  - pip install coveralls

before_script:
  - flake8 --max-line-length=140 galena/galena.py tests/*

script:
  - py.test --cov=.

after_success:
  - coveralls

Add all test files to flake8
Add all test files to flake8
