2018-05-04 02:19:36 -07:00
|
|
|
language: rust
|
2018-05-21 02:01:49 -07:00
|
|
|
rust:
|
2018-10-27 08:44:14 -07:00
|
|
|
- 1.30.0
|
2018-07-13 06:56:17 -07:00
|
|
|
cache:
|
|
|
|
cargo: true
|
|
|
|
timeout: 1200
|
2018-05-04 02:19:36 -07:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- unzip
|
|
|
|
before_install:
|
2018-08-09 06:44:57 -07:00
|
|
|
- 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
|
2018-09-17 06:19:20 -07:00
|
|
|
- rustup component add --toolchain=$TRAVIS_RUST_VERSION rustfmt-preview clippy-preview
|
2018-09-27 01:44:07 -07:00
|
|
|
- cargo deadlinks --version || cargo install cargo-deadlinks
|
2018-10-16 02:20:16 -07:00
|
|
|
- cargo audit --version || cargo install cargo-audit
|
2018-08-10 05:32:33 -07:00
|
|
|
# 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
|
2018-10-16 01:17:21 -07:00
|
|
|
script: ./ci.sh
|