vexriscv-rust/.travis.yml

68 lines
2.1 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
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)
2018-12-24 02:33:44 +08:00
- env: TARGET=x86_64-unknown-linux-gnu
rust: stable
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
- env: TARGET=riscv32imac-unknown-none-elf
rust: stable
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
2018-12-23 18:37:47 +08:00
- export PATH="$PATH:$PWD/gcc/bin"
2018-08-11 23:58:32 +08:00
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