Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis ci updates #5

Merged
merged 6 commits into from
Sep 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
language: java

jdk:
- oraclejdk8

addons:
apt:
packages:
- ant-optional

script:
- ant testci
before_deploy:
- ant nightly-release
- ls -l dist/releases
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: 27nIysTc9XqIKbwyevG1XvDXwl9N7TL5PihRpyrteMAePfWOQgjNUQe2vmc2KCt/SJc6sxt48KpnlfFIv7IIPn1fccl3SvC4mxlaiOAhdMTWMaf6mACOuIsqMFhmBqW4ukD3rxVh78oATnYaS1OLq3bJoucQhXg57QmacW+gRvKbI/jO7ltqDVMGY+5EQzcHYYj7fUrbpGhSUN/rtSUDlPkrreVl2trTzavwQlN8vBNOdTX4PXhOztNlCBepveRVAC6mJTVpyvvz9jfLtVM224CJF2TMn/j1cwEIln/DF94uqdKvpkCc6kgduVWPJHEPdfi0QjgdrO+kPzAfPnXZrgVSaiVAnUBQ1XYOthwUpxyOwLU/u5g6aZ7ix7Hg9MiBgJWJ4+4zqkdi78+MEimFN3Ky9BGb3t8MbO98LsX34W48j1j1wxJWx4OC8dSQiBb3bVJaDWZo+kORjsd0qVgWuGD4R9PL1snuRxGHezrq0KZe2Wa0JKqtrXYDrXxKYSlo3CXwzjM4O6+t0ERjrsrXt+Ns3CaZB9w1GHvB2/qVr+SNfOU0MxeSgUgIMzEBVjJeL093C/4JR8JbBcLaxei9vOHt5iubDvSveMO4hTuY62jPCixmmvLBGw7DqRxa8wA6HR5ejJoI2eazK1NNh8Fxsn3Q4iwyau3758cGpGhB3Ng=
file_glob: true
file: "dist/releases/*"
on:
repo: FreeCol/freecol
branch: slim
15 changes: 15 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,21 @@
<antcall target="javaInstallerBundle"/>
</target>

<target name="nightly-release" description="Creates nightly build distribution.">
<property name="print.manual.is.up.to.date" value="true"/>
<property name="print.devmanual.is.up.to.date" value="true"/>
<property name="nightly.version" value="true" />
<property name="skip.dist.source" value="true" />

<antcall target="distclean" />
<antcall target="dist" />

<mkdir dir="${freecol.release.dir}/releases"/>
<copy todir="${freecol.release.dir}/releases">
<fileset dir="${freecol.release.dir}" includes="freecol-git-*"/>
</copy>
</target>

<!--
Creates archives and installers for distribution and places these in the
"dist" directory.
Expand Down