2017-04-12 06:12:06 +02:00
|
|
|
language: rust
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2018-11-03 17:02:41 +01:00
|
|
|
# NOTE used to build docs on successful merges to master
|
2019-04-21 20:41:30 +02:00
|
|
|
# - env: TARGET=x86_64-unknown-linux-gnu
|
2017-07-27 22:02:25 +02:00
|
|
|
|
2019-04-21 20:41:30 +02:00
|
|
|
# - env: TARGET=thumbv6m-none-eabi
|
|
|
|
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
|
2017-07-27 22:02:25 +02:00
|
|
|
|
2019-04-21 20:41:30 +02:00
|
|
|
# - env: TARGET=thumbv7m-none-eabi
|
|
|
|
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
|
2018-11-03 17:02:41 +01:00
|
|
|
|
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
2018-12-16 22:05:32 +01:00
|
|
|
rust: nightly
|
2019-04-21 20:41:30 +02:00
|
|
|
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
|
2017-07-27 22:02:25 +02:00
|
|
|
|
2018-11-03 17:02:41 +01:00
|
|
|
- env: TARGET=thumbv6m-none-eabi
|
2018-12-16 22:05:32 +01:00
|
|
|
rust: nightly
|
2018-11-03 17:02:41 +01:00
|
|
|
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
|
2017-07-27 22:02:25 +02:00
|
|
|
|
2018-11-03 17:02:41 +01:00
|
|
|
- env: TARGET=thumbv7m-none-eabi
|
2018-12-16 22:05:32 +01:00
|
|
|
rust: nightly
|
2018-11-03 17:02:41 +01:00
|
|
|
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
|
2017-04-12 06:12:06 +02:00
|
|
|
|
2019-01-16 07:42:50 +01:00
|
|
|
before_install:
|
|
|
|
- set -e
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get install -y binutils-arm-none-eabi
|
2017-04-12 06:12:06 +02:00
|
|
|
|
|
|
|
install:
|
2017-07-27 22:02:25 +02:00
|
|
|
- bash ci/install.sh
|
2018-11-03 17:02:41 +01:00
|
|
|
- export PATH="$PATH:$PWD/qemu"
|
2017-04-12 06:12:06 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- bash ci/script.sh
|
|
|
|
|
2018-11-03 17:02:41 +01:00
|
|
|
after_script: set +e
|
|
|
|
|
2018-08-27 14:44:47 +02:00
|
|
|
after_success:
|
|
|
|
- bash ci/after-success.sh
|
|
|
|
|
2018-11-03 17:02:41 +01:00
|
|
|
cache: cache
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- chmod -R a+r $HOME/.cargo;
|
2017-04-12 06:12:06 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2018-08-27 14:45:43 +02:00
|
|
|
- master
|
2018-04-16 21:27:02 +02:00
|
|
|
- staging
|
|
|
|
- trying
|
2017-04-12 06:12:06 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|