language: python cache: ccache sudo: required dist: trusty services: - docker os: - linux env: - JOB=PRE_COMMIT addons: apt: packages: - git - python - python-pip - python2.7-dev ssh_known_hosts: 13.229.163.131 before_install: - sudo pip install -U virtualenv pre-commit pip - docker pull paddlepaddle/paddle:latest script: - bash .travis/precommit.sh - if [ $? -eq 0 ]; then true; else exit 1; fi; notifications: email: on_success: change on_failure: always