Merge pull request #118 from dlrobertson/fix_ci

ci: Ensure that the correct compiler is installed
This commit is contained in:
Jeremy Soller
2018-04-08 12:16:01 -06:00
committed by GitHub
+2
View File
@@ -5,6 +5,8 @@ env:
- TARGET=x86_64-unknown-redox
rust:
- nightly
install:
- if [ $TARGET == "aarch64-unknown-linux-gnu" ]; then sudo apt-get install gcc-aarch64-linux-gnu; fi
before_script:
- rustup component add rustfmt-preview
- if [ -n "$TARGET" ]; then rustup target add $TARGET; fi