hbbft/.travis.yml

25 lines
878 B
YAML

language: rust
rust:
- 1.31.0
cache:
cargo: true
timeout: 1200
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
- cargo audit --version || cargo install cargo-audit
# 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: ./ci.sh