aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-semihosting/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-semihosting/.travis.yml')
-rw-r--r--cortex-m-semihosting/.travis.yml107
1 files changed, 107 insertions, 0 deletions
diff --git a/cortex-m-semihosting/.travis.yml b/cortex-m-semihosting/.travis.yml
new file mode 100644
index 0000000..4ca6a3a
--- /dev/null
+++ b/cortex-m-semihosting/.travis.yml
@@ -0,0 +1,107 @@
+language: rust
+
+env:
+ global:
+ - RUSTFLAGS="-D warnings"
+
+matrix:
+ include:
+ - env: TARGET=x86_64-unknown-linux-gnu
+ rust: stable
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv6m-none-eabi
+ rust: stable
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7m-none-eabi
+ rust: stable
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7em-none-eabi
+ rust: stable
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7em-none-eabihf
+ rust: stable
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv8m.main-none-eabi
+ rust: stable
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=x86_64-unknown-linux-gnu
+ rust: nightly
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - 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)
+
+ - env: TARGET=thumbv7em-none-eabi
+ rust: nightly
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7em-none-eabihf
+ rust: nightly
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv8m.main-none-eabi
+ rust: nightly
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ # MSRV
+ - env: TARGET=x86_64-unknown-linux-gnu
+ rust: 1.33.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv6m-none-eabi
+ rust: 1.33.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7m-none-eabi
+ rust: 1.33.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7em-none-eabi
+ rust: 1.33.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv7em-none-eabihf
+ rust: 1.33.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+ - env: TARGET=thumbv8m.main-none-eabi
+ rust: 1.33.0
+ if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
+
+
+before_install: set -e
+
+install:
+ - bash ci/install.sh
+ - export PATH="$PATH:$PWD/gcc/bin"
+
+script:
+ - bash ci/script.sh
+
+after_script: set +e
+
+cache: cargo
+before_cache:
+ # Travis can't cache files that are not readable by "others"
+ - chmod -R a+r $HOME/.cargo
+
+branches:
+ only:
+ - master
+ - staging
+ - trying
+
+notifications:
+ email:
+ on_success: never