Skip to content

Commit 91b68a3

Browse files
committed
#1 - adds travis config and required basics for release
1 parent e9d84f5 commit 91b68a3

File tree

10 files changed

+759
-1
lines changed

10 files changed

+759
-1
lines changed

.mvn/jvm.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-Xmx1024m -XX:CICompilerCount=1 -XX:TieredStopAtLevel=1 -Djava.security.egd=file:/dev/./urandom

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.mvn/wrapper/maven-wrapper.jar

48.4 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip

.settings.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
4+
http://maven.apache.org/xsd/settings-1.0.0.xsd">
5+
<servers>
6+
<server>
7+
<id>sonatype</id>
8+
<username>${env.SONATYPE_USER}</username>
9+
<password>${env.SONATYPE_PASSWORD}</password>
10+
</server>
11+
<server>
12+
<id>bintray</id>
13+
<username>${env.BINTRAY_USER}</username>
14+
<password>${env.BINTRAY_KEY}</password>
15+
</server>
16+
<server>
17+
<id>jfrog-snapshots</id>
18+
<username>${env.BINTRAY_USER}</username>
19+
<password>${env.BINTRAY_KEY}</password>
20+
</server>
21+
<server>
22+
<id>github.com</id>
23+
<username>${env.GH_USER}</username>
24+
<password>${env.GH_TOKEN}</password>
25+
</server>
26+
</servers>
27+
</settings>
28+

.travis.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Run `travis lint` when changing this file to avoid breaking the build.
2+
# Default JDK is really old: 1.8.0_31; Trusty's is less old: 1.8.0_51
3+
# https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
4+
sudo: required
5+
dist: trusty
6+
7+
cache:
8+
directories:
9+
- $HOME/.m2
10+
11+
language: java
12+
13+
jdk:
14+
- oraclejdk8
15+
16+
17+
before_install:
18+
# Parameters used during release
19+
- git config user.name "$GH_USER"
20+
- git config user.email "$GH_USER_EMAIL"
21+
# setup https authentication credentials, used by ./mvnw release:prepare
22+
- git config credential.helper "store --file=.git/credentials"
23+
- echo "https://$GH_TOKEN:@github.com" > .git/credentials
24+
25+
install:
26+
# Override default travis to use the maven wrapper
27+
- ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
28+
29+
script:
30+
- ./travis/publish.sh
31+
32+
# Don't build release tags. This avoids publish conflicts because the version commit exists both on master and the release tag.
33+
# See https://github.com/travis-ci/travis-ci/issues/1532
34+
branches:
35+
except:
36+
- /^[0-9]/
37+
38+
env:
39+
global:
40+
# Ex. travis encrypt BINTRAY_USER=your_github_account
41+
# - secure: "TBD"
42+
# # Ex. travis encrypt BINTRAY_KEY=xxx-https://bintray.com/profile/edit-xxx --add
43+
# - secure: "TBD"
44+
# # Ex. travis encrypt GH_USER_EMAIL=for_github@domain.com --add
45+
# - secure: "TBD"
46+
# # Ex. travis encrypt GH_USER=your_github_account --add
47+
# - secure: "TBD"
48+
# # Ex. travis encrypt GH_TOKEN=XXX-https://github.com/settings/tokens-XXX --add
49+
# - secure: "TBD"
50+
# # Ex. travis encrypt SONATYPE_USER=your_sonatype_account
51+
# - secure: "TBD"
52+
# # Ex. travis encrypt SONATYPE_PASSWORD=your_sonatype_password
53+
# - secure: "TBD"
54+

mvnw

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)