From 4908ff72c211c3a282c7be3ea2abb3a64bb58b77 Mon Sep 17 00:00:00 2001 From: Kornel Date: Fri, 7 Aug 2020 22:02:47 +0100 Subject: [PATCH] Workaround for nightlies --- sys/.travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/.travis.yml b/sys/.travis.yml index 06df6de..a8f06c3 100644 --- a/sys/.travis.yml +++ b/sys/.travis.yml @@ -17,7 +17,8 @@ addons: before_install: # Without rustfmt, bindgen puts everything on one line and any warnings dump so many logs they break Travis # See https://github.com/rust-lang/rust-bindgen/issues/1600 - - rustup component add rustfmt + # optional, because nightlies may not have it + - rustup component add rustfmt || true - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then ./.travis/install_linux.sh; fi - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew update; fi - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then brew install yasm; fi