summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2018-06-24 19:41:00 +0200
committerPatrick Spek <p.spek@tyil.nl>2018-06-24 19:41:00 +0200
commit85b27904c2ac2aa297ef5f18b00c3213861f0d7d (patch)
tree7509e5753c10ed1cdc7dcd309eb92576b42e1346
parent7ef38be3f83956a13789147313447e823287dbd5 (diff)
downloadDist::Helper-85b27904c2ac2aa297ef5f18b00c3213861f0d7d.tar.gz
Dist::Helper-85b27904c2ac2aa297ef5f18b00c3213861f0d7d.tar.bz2
Add template for gitlab-ci
-rw-r--r--resources/templates/gitlab-ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/resources/templates/gitlab-ci.yml b/resources/templates/gitlab-ci.yml
new file mode 100644
index 0000000..3b7d1c1
--- /dev/null
+++ b/resources/templates/gitlab-ci.yml
@@ -0,0 +1,23 @@
+{{ module-name }}:
+ only:
+ - master
+ image: rakudo-star
+ before_script:
+ - zef install . --deps-only
+ script: AUTHOR_TESTING=1 prove -v -e "perl6 -Ilib" t
+ artifacts:
+ name: "{{ dir-name }}"
+ paths:
+ - META6.json
+ - bin
+ - lib
+ - resources
+ - t
+
+test:
+ except:
+ - master
+ image: rakudo-star
+ before_script:
+ - zef install . --deps-only
+ script: AUTHOR_TESTING=1 prove -v -e "perl6 -Ilib" t