language: cpp cache: directories: - $HOME/.ccache - $HOME/.cache/pip - $TRAVIS_BUILD_DIR/build/third_party sudo: required dist: trusty services: - docker os: - linux env: - JOB=check_style - JOB=check_api addons: ssh_known_hosts: 13.229.163.131 before_install: # For pylint dockstring checker - sudo pip install pylint pytest astroid isort - | function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; } script: - | # 43min timeout paddle/scripts/paddle_docker_build.sh ${JOB} if [ $? -eq 0 ] || [ $? -eq 142 ]; then true; else exit 1; fi; notifications: email: on_success: change on_failure: always