aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 31d10e8..c265130 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,20 +5,26 @@ matrix:
# NOTE used to build docs on successful merges to master
- env: TARGET=x86_64-unknown-linux-gnu
+ # MSRV
+ - env: TARGET=thumbv7m-none-eabi
+ rust: 1.36.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
- env: TARGET=thumbv6m-none-eabi
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
- env: TARGET=thumbv7m-none-eabi
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+ # compile-fail tests
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+ # heterogeneous multi-core support
- env: TARGET=thumbv6m-none-eabi
rust: nightly
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
-
- env: TARGET=thumbv7m-none-eabi
rust: nightly
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
@@ -31,6 +37,7 @@ before_install:
install:
- bash ci/install.sh
- export PATH="$PATH:$PWD/qemu"
+ - export PATH="$PATH:$PWD/mdbook-bin"
script:
- bash ci/script.sh
@@ -40,7 +47,7 @@ after_script: set +e
after_success:
- bash ci/after-success.sh
-cache: cache
+cache: cargo
before_cache:
- chmod -R a+r $HOME/.cargo;