Get CI working again
A few changes have necessitated some updates on our end
diff --git a/.travis.yml b/.travis.yml
index 93236a8..22d86e0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,7 @@
services:
- docker
install:
- - curl https://static.rust-lang.org/rustup.sh |
- sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
+ - if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
script:
- cargo build
- cargo build --no-default-features
@@ -24,26 +23,26 @@
include:
# 1.0.0 compat
- os: linux
- env: TARGET=x86_64-unknown-linux-gnu
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: 1.0.0
script: cargo build
install:
# build documentation
- os: linux
- env: TARGET=x86_64-unknown-linux-gnu
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly
script: sh ci/dox.sh
# stable compat
- os: linux
- env: TARGET=x86_64-unknown-linux-gnu
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: stable
- os: linux
env: TARGET=i686-unknown-linux-gnu
rust: stable
- os: osx
- env: TARGET=x86_64-apple-darwin
+ env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: stable
- os: osx
env: TARGET=i686-apple-darwin
@@ -101,18 +100,18 @@
# beta
- os: linux
- env: TARGET=x86_64-unknown-linux-gnu
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: beta
- os: osx
- env: TARGET=x86_64-apple-darwin
+ env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: beta
# nightly
- os: linux
- env: TARGET=x86_64-unknown-linux-gnu
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly
- os: osx
- env: TARGET=x86_64-apple-darwin
+ env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: nightly
# QEMU based targets that compile in an emulator
diff --git a/appveyor.yml b/appveyor.yml
index a851bb8..403682a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -7,7 +7,7 @@
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
install:
- - curl -sSf -o rustup-init.exe https://win.rustup.rs/
+ - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin