Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Geo Tools
Commits
a1debfef
Commit
a1debfef
authored
Sep 19, 2017
by
Matija Obreza
Browse files
CI updated
parent
299dbcda
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a1debfef
...
...
@@ -2,30 +2,33 @@ stages:
-
build
run tests in branches
:
stage
:
build
image
:
maven:3-jdk-8
stage
:
build
image
:
maven:3-jdk-8
script
:
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
-
MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
-U
except
:
-
master
-
tags
publish maven snapshot artifacts
:
stage
:
build
image
:
maven:3-jdk-8
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
allow-secret-key-import
--import
stage
:
build
image
:
maven:3-jdk-8
before_
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
batch
--import
-
gpg --list-keys
script
:
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
master
publish maven artifacts
:
stage
:
build
image
:
maven:3-jdk-8
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
allow-secret-key-import
--import
stage
:
build
image
:
maven:3-jdk-8
before_
script
:
-
echo "${GPG_KEY_SECRET}" | gpg --
batch
--import
-
gpg --list-keys
-
mvn clean deploy --settings .ci-maven-settings.xml -B -U -Prelease
-
export GPG_TTY=$(tty)
# gpg: signing failed: Inappropriate ioctl for device
script
:
-
mvn -P release clean deploy --settings .ci-maven-settings.xml -B -U
only
:
-
tags
-
/^geo\-tools\-/
pom.xml
View file @
a1debfef
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
Copyright 2016 Global Crop Diversity Trust
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
...
...
@@ -60,12 +60,12 @@
<module>
genesys-geotools
</module>
<module>
geotools-cli
</module>
</modules>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<jdk.target>
1.8
</jdk.target>
<jdk.source>
1.8
</jdk.source>
<maven-gpg-plugin.version>
1.
5
</maven-gpg-plugin.version>
<maven-gpg-plugin.version>
1.
6
</maven-gpg-plugin.version>
</properties>
<build>
...
...
@@ -97,7 +97,7 @@
</execution>
</executions>
<configuration>
<!-- first check to see if you have locally modified files, and will
<!-- first check to see if you have locally modified files, and will
fail if there are any. -->
<doCheck>
false
</doCheck>
<doUpdate>
false
</doUpdate>
...
...
@@ -125,7 +125,7 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>
release
</id>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment