Skip to content

Commit

Permalink
trying to configure travis releases
Browse files Browse the repository at this point in the history
  • Loading branch information
danlangford committed Dec 29, 2018
1 parent c4209c6 commit 27b5c0f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 19 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
language: java
jdk: openjdk11
cache:
directories:
- $HOME/.m2
deploy:
provider: releases
api_key:
secure: T0BP+4oS9yBJ/z17DW9EZmdy5D1UoSIK5GSeEZtf2esTHVO+4hmG0mdObg8JiwJs+TGRecDM0Crbm4JFjKdndf9F4CNY0Y4pUF2zbWxMAwc2wCy+Ra80jJYnzSwHLhaLf/pyS4KuzOwqQF7eUbHBQhvJCotb6TBqUd8sTQaRb1Ut8976LH33hQNiK0WY/Pd3q7sAbmGoXVrHjZrnm/A1pJPUJvNm7TFG4cVF/wizVr/Ws2C2LjP5cvxRHJJPUtOYe00C3HLK6prY1rgjmGEgJC/sEWSSNtmbY/OpRW/oaCU6bFCalp5VFW9je6bfvY3sKkn25+tjDwJyjT19QeNZtdDXFGSUnF2EkK14uzfMAdcKv9eCSd90IgmIhfIQIuniutxzzlM+BOfB+nsnahO+750fxfD51LJAOUx6WPU6Yc+65jUPBZhv0QQH8lzs6YvBkh0yrtYyMwb5nWaHIJ6Me7zbsLIp5sV0Spy+ubkPjRbGdXD9rsqW5hkZFYIF9P5+fuySX6M23PozsvReeYvgrrZ4cyOIxeQrdYhnw1xVEwxqb5QDjrTJBjsulKLi27FJGGwCCHFVEDjvLfz4GpityLKVWBR1xlag1/nu51QAMtFECHEIPxlqmyBNZZsdCl3umrGremuvlukuM+X7Fq1tDmx80vF5j7Rxxn8JSEHl01E=
file:
- target/tableflipper-cli-0.0.5.jar
- target/tableflipper-ui-0.0.5.jar
file_glob: true
file: ./target/tableflipper*.jar
skip_cleanup: true
overwrite: true
on:
tags: true
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,9 @@
<outputDirectory>${project.basedir}</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}/src/main/root</directory>
<directory>${project.basedir}/src/main/doc</directory>
<includes>
<include>README.asc</include>
<include>.travis.yml</include>
</includes>
<filtering>true</filtering>
</resource>
Expand Down
4 changes: 2 additions & 2 deletions src/main/root/README.asc → src/main/doc/README.asc
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ and at least in MacOS I can just double click the `tableflipper-ui-${project.ver

== Advanced

you can run the build with the `multiplatform` profile to have the ui fatjar include all the javafx graphics for all three platforms adding a few MB to the size. i still need to test that it actually works.
by default the builds run with `multiplatform` profile enabled to have the ui fatjar include all the javafx graphics for all three platforms. if you would like to save just a few MB you can disable that.

./mvnw package -Pmultiplatform
./mvnw package -P !multiplatform

_Dan "8bagels" Langford_
11 changes: 0 additions & 11 deletions src/main/root/.travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion tableflipper-ui-fatjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<properties>
<destFileName>tableflipper-ui-${revision}.jar</destFileName>
<multiplatform>true</multiplatform>
</properties>

<dependencies>
Expand All @@ -23,7 +24,7 @@
<profile>
<id>multiplatform</id>
<activation>
<property><name>multiplatform</name></property>
<property><name>!singleos</name></property>
</activation>
<dependencies>
<dependency>
Expand Down

0 comments on commit 27b5c0f

Please sign in to comment.