Remove caching and fix FreeBSD tests

This commit is contained in:
Alex Crichton 2017-09-05 20:18:21 -07:00
parent e102a72651
commit d2044231dc
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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