Skip to content

Commit

Permalink
Distinguish alloc/no_std in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jan 21, 2020
1 parent 0674699 commit dc66fd6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -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:
Expand Down

0 comments on commit dc66fd6

Please sign in to comment.