language: python
sudo: required
python:
    - "2.7"
before_install:
    - sudo apt-get install fabric liblua5.2 liblua5.2-dev pylint
install:
    - pip install -r requirements.txt
script:
    - ./tools/infrastructure/checkstyle.sh
    - fab test_all

language: python
sudo: required
python:
    - "2.7"
branches:
  only:
    - master
    - develop
before_install:
    - sudo apt-get install fabric liblua5.2 liblua5.2-dev pylint
install:
    - pip install -r requirements.txt
script:
    - ./tools/infrastructure/checkstyle.sh
    - fab test_all

Improve Travis build: build only master and develop on push
Improve Travis build: build only master and develop on push
