[gjs: 2/3] CI: Run fewer jobs on wip/ branches



commit b48a99187ff37958b2e4ac77941948310c1553cd
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Feb 4 22:57:37 2018 -0800

    CI: Run fewer jobs on wip/ branches
    
    If the branch is marked with wip/, then we should only run one build/test
    job, just to make sure the tests pass; we don't need to do it with two
    different compilers. Also, skip the code coverage job on wip/ branches.

 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c8d89655..2a97fd7f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,6 +86,8 @@ fedora_gcc:
 #     CC: clang
 #     DEV: devel
 #     BUILD_OPTS: "--enable-ubsan"
+#   except:
+#     - /^wip\/.*/
 
 coverage:
   <<: *build
@@ -97,6 +99,8 @@ coverage:
     CC: gcc
     BUILD_OPTS: "--enable-code-coverage"
     coverage: '/^Lines:.\d+.\d+.(\d+\.\d+\%)/'
+  except:
+    - /^wip\/.*/
 
 cppcheck:
   <<: *build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]