From d2044231dc905d0a3b3f68a60e84dc4ae399ef7b Mon Sep 17 00:00:00 2001
From: Alex Crichton <alex@alexcrichton.com>
Date: Tue, 5 Sep 2017 20:18:21 -0700
Subject: [PATCH] Remove caching and fix FreeBSD tests

---
 .travis.yml | 2 --
 ci/run.sh   | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4990cb71..97877286 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,8 +94,6 @@ matrix:
     # QEMU based targets that compile in an emulator
     - env: TARGET=x86_64-unknown-freebsd
 
-cache: cargo
-
 notifications:
   email:
     on_success: never
diff --git a/ci/run.sh b/ci/run.sh
index ddf18fd2..a4d0a971 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -41,8 +41,8 @@ if [ "$QEMU" != "" ]; then
 
   # Do the standard rigamarole of cross-compiling an executable and then the
   # script to run just executes the binary.
-  cargo build --manifest-path libc-test/Cargo.toml --target $TARGET
-  cp $CARGO_TARGET_DIR/$TARGET/debug/libc-test $tmpdir/mount/
+  cargo build --manifest-path libc-test/Cargo.toml --target $TARGET --tests
+  cp $CARGO_TARGET_DIR/$TARGET/debug/main-* $tmpdir/mount/libc-test
   echo 'exec $1/libc-test' > $tmpdir/mount/run.sh
 
   du -sh $tmpdir/mount
-- 
GitLab