Commit fbb3fcd
Changed files (1)
.gitlab-ci.yml
@@ -1,5 +1,9 @@
image: ruby:2.6
+stages:
+ - test
+ - release
+
before_script:
- apt-get update && apt-get install -y locales
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
@@ -7,9 +11,22 @@ before_script:
- export LC_ALL=en_US.UTF-8
rspec:
+ stage: test
script:
- bin/cibuild
lint:
+ stage: test
script:
- bin/lint
+
+package:
+ stage: release
+ script:
+ - bin/setup
+ - bundle exec rake build
+ artifacts:
+ paths:
+ - pkg/
+ when:
+ - always