Don't run CI on push except on master
This avoids double-testing PRs that are made from branches on jonhoo/rust-imap.
This commit is contained in:
parent
2d28884da7
commit
1e9ac02b69
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ rust:
|
|||
- beta
|
||||
- nightly
|
||||
|
||||
# only test master on push
|
||||
# always test things that aren't pushes (like PRs)
|
||||
if: type != push OR branch = master
|
||||
|
||||
before_script:
|
||||
- if [[ "$INTEGRATION" == "true" ]]; then
|
||||
docker pull greenmail/standalone:1.5.8 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue