From dc66fd67519b2d1ee3e2dbdf582666eecd616b75 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 21 Jan 2020 10:06:48 -0800 Subject: [PATCH] Distinguish alloc/no_std in CI --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e81c03270..00609a7232 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,18 @@ script: - ./ci/test_full.sh matrix: include: - # try a target that doesn't have std at all - - name: "no_std" + # try a target that doesn't have std at all, but does have alloc + - name: "alloc" rust: stable env: TARGET=thumbv6m-none-eabi + before_script: + - rustup target add $TARGET + script: + - cargo build --verbose --target $TARGET --no-default-features --features "alloc serde rand" + # try a target that doesn't have std at all, nor alloc + - name: "no_std" + rust: 1.31.0 + env: TARGET=thumbv6m-none-eabi before_script: - rustup target add $TARGET script: