|
@@ -1,29 +1,18 @@
|
|
|
language: rust
|
|
|
|
|
|
-matrix:
|
|
|
- include:
|
|
|
- #- env: TARGET=x86_64-unknown-linux-gnu
|
|
|
- # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
+env:
|
|
|
+ - TARGET=x86_64-unknown-linux-gnu
|
|
|
+ - TARGET=riscv32imac-unknown-none-elf
|
|
|
|
|
|
- #- env: TARGET=riscv32imac-unknown-none-elf
|
|
|
- # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
+rust:
|
|
|
+ - nightly
|
|
|
+ - stable
|
|
|
+ - 1.30.0 # MSRV
|
|
|
|
|
|
- #- env: TARGET=x86_64-unknown-linux-gnu
|
|
|
- # rust: beta
|
|
|
- # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
-
|
|
|
- #- env: TARGET=riscv32imac-unknown-none-elf
|
|
|
- # rust: beta
|
|
|
- # if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
-
|
|
|
- - env: TARGET=x86_64-unknown-linux-gnu
|
|
|
- rust: nightly
|
|
|
- if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
-
|
|
|
- - env: TARGET=riscv32imac-unknown-none-elf
|
|
|
- rust: nightly
|
|
|
- if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
+if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
|
|
|
+matrix:
|
|
|
+ include:
|
|
|
- env: TARGET=riscv64imac-unknown-none-elf
|
|
|
rust: nightly
|
|
|
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
@@ -32,26 +21,23 @@ matrix:
|
|
|
rust: nightly
|
|
|
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
|
|
|
- - 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
|
|
|
+ - env: CHECK_BLOBS=1
|
|
|
+ rust:
|
|
|
+ language: bash
|
|
|
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
|
|
|
|
|
|
-before_install: set -e
|
|
|
|
|
|
install:
|
|
|
- - bash ci/install.sh
|
|
|
- - export PATH="$PATH:$PWD/gcc/bin"
|
|
|
+ - ci/install.sh
|
|
|
|
|
|
script:
|
|
|
- - bash ci/script.sh
|
|
|
+ - ci/script.sh
|
|
|
|
|
|
-after_script: set +e
|
|
|
|
|
|
-cache: cargo
|
|
|
+cache:
|
|
|
+ cargo: true
|
|
|
+ directories:
|
|
|
+ - gcc
|
|
|
before_cache:
|
|
|
# Travis can't cache files that are not readable by "others"
|
|
|
- chmod -R a+r $HOME/.cargo
|