File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ matrix:
20
20
rust : nightly
21
21
if : (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
22
22
23
+ - env : CHECK_BLOBS=1
24
+ rust : stable
25
+ if : (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
26
+
23
27
24
28
install :
25
29
- ci/install.sh
Original file line number Diff line number Diff line change 2
2
3
3
set -euxo pipefail
4
4
5
- rustup target add $TARGET
5
+ if [ -n " ${TARGET:- } " ]; then
6
+ rustup target add $TARGET
7
+ fi
6
8
7
- mkdir gcc
8
- curl -L https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2018.12.0-x86_64-linux-ubuntu14.tar.gz | tar --strip-components=1 -C gcc -xz
9
+ if [ -n " ${CHECK_BLOBS:- } " ]; then
10
+ mkdir gcc
11
+ curl -L https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2018.12.0-x86_64-linux-ubuntu14.tar.gz | tar --strip-components=1 -C gcc -xz
12
+ fi
Original file line number Diff line number Diff line change 2
2
3
3
set -euxo pipefail
4
4
5
- cargo check --target $TARGET
5
+ if [ -n " ${TARGET:- } " ]; then
6
+ cargo check --target $TARGET
6
7
7
- if [ $TRAVIS_RUST_VERSION = nightly ]; then
8
- cargo check --target $TARGET --features inline-asm
8
+ if [ $TRAVIS_RUST_VERSION = nightly ]; then
9
+ cargo check --target $TARGET --features inline-asm
10
+ fi
9
11
fi
10
12
11
- if [ $TARGET = x86_64-unknown-linux-gnu ]; then
13
+ if [ -n " ${CHECK_BLOBS :- } " ]; then
12
14
./check-blobs.sh
13
15
fi
You can’t perform that action at this time.
0 commit comments