language: rust rust: - 1.42.0 cache: cargo: true timeout: 2400 addons: apt: packages: - unzip before_install: - if [ "$TRAVIS_SECURE_ENV_VARS" = true ]; then openssl aes-256-cbc -K $encrypted_ab99677a831c_key -iv $encrypted_ab99677a831c_iv -in deploy_rsa.enc -out deploy_rsa -d; fi - rustup component add --toolchain=$TRAVIS_RUST_VERSION rustfmt-preview clippy-preview - cargo deadlinks --version || cargo install cargo-deadlinks -f - cargo audit --version || cargo install cargo-audit -f # after_failure: # # Outputs the syslog after a failed build, e.g. to debug `SIGILL` occurrences. # # Unfortunately this is likely to disable container-based travis images, # # causing a CI slowdown, so this option is commented out by default. It can # # be enabled per-branch to debug issues. # - sudo tail -n 250 /var/log/syslog script: travis_wait 40 ./ci.sh