cache:
  directories:
    - /usr/local/lib/python2.7/dist-packages
    - /home/travis/virtualenv
before_install:
  - mysql -uroot -Dmysql -e 'UPDATE user SET password=PASSWORD("root") WHERE user="root"; FLUSH PRIVILEGES;'
install:
  - sudo -H pip install flake8
  - sudo -H ./setup.sh
script:
  - flake8 .
  - INBOX_ENV=test py.test tests -m "not networkrequired"

cache:
  directories:
    - /usr/local/lib/python2.7/dist-packages
    - /home/travis/virtualenv
before_install:
  - mysql -uroot -Dmysql -e 'UPDATE user SET password=PASSWORD("root") WHERE user="root"; FLUSH PRIVILEGES;'
install:
  - sudo -H pip install flake8
  - sudo -H ./setup.sh
script:
  - flake8 --select=F inbox
  - pylint -d all -e w0631 inbox
  - INBOX_ENV=test py.test tests -m "not networkrequired"

Unify Travis lint configuration with Jenkins
Unify Travis lint configuration with Jenkins
