rtic/.travis.yml

54 lines
1.2 KiB
YAML
Raw Normal View History

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
2017-04-12 06:12:06 +02:00
- env: TARGET=x86_64-unknown-linux-gnu
2017-07-27 22:02:25 +02:00
2017-04-12 06:12:06 +02:00
- env: TARGET=thumbv6m-none-eabi
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
2017-04-12 06:12:06 +02:00
- env: TARGET=thumbv7m-none-eabi
2018-11-03 17:02:41 +01:00
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly-2018-12-06
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=thumbv6m-none-eabi
rust: nightly-2018-12-06
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
rust: nightly-2018-12-06
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
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