vexriscv-rust/.travis.yml

54 lines
1.1 KiB
YAML
Raw Normal View History

2018-08-11 23:58:32 +08:00
language: rust
2019-03-17 21:27:41 +08:00
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET=riscv32imac-unknown-none-elf
2018-08-11 23:58:32 +08:00
2019-03-17 21:27:41 +08:00
rust:
- nightly
- stable
2019-03-17 22:29:48 +08:00
- 1.30.0 # MSRV
2018-08-11 23:58:32 +08:00
2019-03-17 21:27:41 +08:00
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2018-08-11 23:58:32 +08:00
2019-03-17 21:27:41 +08:00
matrix:
include:
2019-03-01 22:02:13 +08:00
- env: TARGET=riscv64imac-unknown-none-elf
rust: nightly
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
- env: TARGET=riscv64gc-unknown-none-elf
rust: nightly
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2019-03-17 21:45:28 +08:00
- env: CHECK_BLOBS=1
2019-03-17 21:57:16 +08:00
rust:
language: bash
2019-03-17 21:45:28 +08:00
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
2018-12-24 02:33:44 +08:00
2018-08-11 23:58:32 +08:00
install:
2019-03-17 21:30:23 +08:00
- ci/install.sh
2018-08-11 23:58:32 +08:00
script:
2019-03-17 21:30:23 +08:00
- ci/script.sh
2018-08-11 23:58:32 +08:00
2019-03-17 21:57:16 +08:00
cache:
cargo: true
directories:
- gcc
2018-08-11 23:58:32 +08:00
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