mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
Merge pull request #901 from prymitive/builds-from-master
chore(ci): run build CI jobs only from master branch
This commit is contained in:
@@ -107,8 +107,8 @@ jobs:
|
||||
|
||||
- stage: Build and Deploy
|
||||
# we build and push docker image on merge and tag, so this should only
|
||||
# run for pull requests, to test that they don't break docker builds
|
||||
if: repo = prymitive/karma AND (branch != master OR type = pull_request) AND tag IS NOT present
|
||||
# run for new branches, to test that they don't break docker builds
|
||||
if: repo = prymitive/karma AND type != pull_request
|
||||
language: generic
|
||||
addons:
|
||||
apt:
|
||||
@@ -119,6 +119,7 @@ jobs:
|
||||
script: travis_retry make docker-image
|
||||
|
||||
- stage: Build and Deploy
|
||||
if: repo = prymitive/karma AND type != pull_request
|
||||
<<: *DEFAULTS_GO
|
||||
env:
|
||||
- DESC="Cross compile binaries"
|
||||
|
||||
Reference in New Issue
Block a user