rtic/.travis.yml

56 lines
1.2 KiB
YAML
Raw Normal View History

2017-04-12 06:12:06 +02:00
language: rust
matrix:
include:
2019-05-01 20:26:46 +02:00
# - env: TARGET=x86_64-unknown-linux-gnu
2017-07-27 22:02:25 +02:00
2019-05-01 20:26:46 +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-05-01 20:26:46 +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
2019-05-01 20:26:46 +02:00
# NOTE used to build docs on successful merges to master
2018-11-03 17:02:41 +01:00
- env: TARGET=x86_64-unknown-linux-gnu
2019-11-13 21:27:19 +01:00
rust: nightly
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
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