Skip to content

Commit 44b04a3

Browse files
bors[bot]japaric
andcommitted
Merge #126
126: CI: test on beta r=therealprof a=japaric 1.30-beta is out so let's test this crate on the beta channel r? @rust-embedded/cortex-m (anyone) Co-authored-by: Jorge Aparicio <[email protected]>
2 parents 03f9290 + d4a738e commit 44b04a3

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

cortex-m-rt/.travis.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,28 @@ language: rust
33
matrix:
44
include:
55
- env: TARGET=x86_64-unknown-linux-gnu
6-
# TODO switch to 1.30-beta
7-
rust: nightly
6+
rust: beta
7+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
8+
9+
- env: TARGET=thumbv6m-none-eabi
10+
rust: beta
11+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
12+
13+
- env: TARGET=thumbv7m-none-eabi
14+
rust: beta
15+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
16+
17+
- env: TARGET=thumbv7em-none-eabi
18+
rust: beta
19+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
20+
21+
- env: TARGET=thumbv7em-none-eabihf
22+
rust: beta
823
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
924

10-
# TODO enable when 1.30-beta is out
11-
# - env: TARGET=thumbv6m-none-eabi
12-
# rust: beta
13-
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
14-
15-
# TODO enable when 1.30-beta is out
16-
# - env: TARGET=thumbv7m-none-eabi
17-
# rust: beta
18-
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
19-
20-
# TODO enable when 1.30-beta is out
21-
# - env: TARGET=thumbv7em-none-eabi
22-
# rust: beta
23-
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
24-
25-
# TODO enable when 1.30-beta is out
26-
# - env: TARGET=thumbv7em-none-eabihf
27-
# rust: beta
28-
# if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
25+
- env: TARGET=x86_64-unknown-linux-gnu
26+
rust: nightly
27+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
2928

3029
- env: TARGET=thumbv6m-none-eabi
3130
rust: nightly

cortex-m-rt/ci/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ main() {
55

66
cargo check --target $TARGET --features device
77

8-
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
8+
if [ $TARGET = x86_64-unknown-linux-gnu ] && [ $TRAVIS_RUST_VERSION = nightly ]; then
99
( cd macros && cargo check && cargo test )
1010

1111
cargo test --test compiletest

0 commit comments

Comments
 (0)