Skip to content

Commit 3b2321a

Browse files
committed
travis: test PRs to master but not commits
1 parent 7b43150 commit 3b2321a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ matrix:
44
include:
55
- env: TARGET=x86_64-unknown-linux-gnu
66
rust: nightly
7+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
78

89
- env: TARGET=thumbv6m-none-eabi
910
rust: nightly
11+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
1012

1113
- env: TARGET=thumbv7m-none-eabi
1214
rust: nightly
15+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
1316

1417
before_install: set -e
1518

@@ -29,6 +32,7 @@ before_cache:
2932

3033
branches:
3134
only:
35+
- master
3236
- staging
3337
- trying
3438

0 commit comments

Comments
 (0)