language: generic sudo: required dist: trusty services: - docker os: - linux env: - JOB=check_style - JOB=model_test before_install: # For pylint dockstring checker - sudo apt-get update - sudo apt-get install -y python-pip libpython-dev - sudo pip install -U pip - sudo pip install six --upgrade --ignore-installed six - sudo pip install pillow - sudo pip install PyYAML - sudo pip install pylint pytest astroid isort pre-commit - sudo pip install kiwisolver - sudo pip install paddlepaddle==1.7.2 --ignore-installed urllib3 - sudo pip uninstall rarfile - sudo pip install rarfile==3.0 - sudo python setup.py install - | function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; } script: - "travis_wait 30 sleep 1800 &" - | # 43min timeout tools/build_script.sh ${JOB} if [ $? -eq 0 ] || [ $? -eq 142 ]; then true; else exit 1; fi; notifications: email: on_success: change on_failure: always