vexriscv-rust/.travis.yml

51 lines
1.4 KiB
YAML
Raw Normal View History

2018-08-11 23:58:32 +08:00
language: rust
matrix:
include:
#- env: TARGET=x86_64-unknown-linux-gnu
2018-08-12 15:11:27 +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
#- env: TARGET=riscv32imac-unknown-none-elf
2018-08-12 15:11:27 +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
#- env: TARGET=x86_64-unknown-linux-gnu
# rust: beta
2018-08-12 15:11:27 +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
#- env: TARGET=riscv32imac-unknown-none-elf
# rust: beta
2018-08-12 15:11:27 +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
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
2018-08-12 15:11:27 +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
- env: TARGET=riscv32imac-unknown-none-elf
rust: nightly
2018-08-12 15:11:27 +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
before_install: set -e
install:
- bash ci/install.sh
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