From e374b8a3539d44931f9bb4493e5cd313e232ece5 Mon Sep 17 00:00:00 2001
From: gabriel klawitter <gabreal@users.noreply.github.com>
Date: Mon, 5 Nov 2018 18:30:07 +0100
Subject: [PATCH] gitlab ci: change to pull request builds

the server receives pull requests now directly and will test builds them with this change.
---
 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71c7828e..8be61ba9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,7 @@ test-rust-stable:
     - master
     - schedules
     - web
+    - /^[0-9]+$/
   tags:
     - rust-stable
 
@@ -46,3 +47,8 @@ build-linux:
     - cargo build --release
   tags:
     - rust-stable
+  only:
+    - master
+    - tags
+    - web
+
-- 
GitLab