Commit c81dad4
Changed files (1)
.gitlab-ci.yml
@@ -1,11 +1,31 @@
image: maven
+stages:
+ - test
+ - release
+
before_script:
- apt-get update && apt-get install -y locales
- echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
- locale-gen
- export LC_ALL=en_US.UTF-8
-build:
+test:
+ stage: test
script:
- mvn verify
+
+doc:
+ stage: test
+ script:
+ - mvn javadoc:javadoc
+
+publish:
+ stage: release
+ script:
+ - apt-get install -y ruby-full
+ - gem install bundler:'~> 2.0'
+ - bundle exec rake publish
+ artifacts:
+ paths:
+ - pkg/*.tar.gz