From 2218e7df28f22853aa67024e64e88989965ba0e3 Mon Sep 17 00:00:00 2001 From: JayPiKay Date: Mon, 28 Aug 2017 12:06:25 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6147fa6..b1a9a8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,10 +4,8 @@ # see https://hub.docker.com/_/gcc/ image: gcc -#trigger_build: -# stage: deploy -# script: -# - "curl -X POST -F token=KxfjoqGbMTBooVwKLDDX-F ref=master https://git.goatpr0n.de/api/v4/projects/46/trigger/pipeline" +stages: + - build build: stage: build @@ -23,12 +21,8 @@ build: paths: - lw12ctl # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time - # cache: - # paths: - # - "*.o" - -# run tests using the binary built before -#test: -# stage: test -# script: -# - ./runmytests.sh + cache: + paths: + - "*.o" + only: + - tags