forked from poanetwork/hbbft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 878 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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