From d7387ca5b55ebc4e8daa396921661c0c3191ed4d Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Thu, 2 Jan 2020 04:29:10 +0900 Subject: [PATCH] Tweak CI --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ac82ea72..74c230f9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,8 @@ rust: - beta - nightly -sudo: required -dist: trusty +os: linux +dist: xenial env: global: @@ -26,7 +26,7 @@ addons: before_script: - | if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - ( ( cargo install clippy && export CLIPPY=true ) || export CLIPPY=false ); + ( ( rustup component add clippy && export CLIPPY=true ) || export CLIPPY=false ); fi - export PATH=$PATH:~/.cargo/bin