From 373278860974ff19515177bbbd429e429fc2d168 Mon Sep 17 00:00:00 2001 From: Christian Zangl Date: Wed, 21 Sep 2016 22:35:32 +0200 Subject: [PATCH] travis --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.travis.yml b/.travis.yml index dbce8a0..6ac8d27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,23 @@ language: java jdk: - oraclejdk8 - oraclejdk7 +env: + global: + secure: +script: +- gradle build +before_deploy: +- cd cli +- gradle zip +- mv build/zip/hjson.zip build/zip/hjson-${TRAVIS_TAG}.zip +- cd .. +deploy: + provider: releases + file: cli/build/zip/hjson-${TRAVIS_TAG}.zip + overwrite: true + skip_cleanup: true + on: + tags: true + jdk: oraclejdk8 + api-key: + secure: WB5LNxdwTPB1qn1/CKW9LkJ5R+LrXOK76vf5JdQsoYqGiu6YsxzDE4sedfJQvUOjl4lhlZkmGVeMjKXKyFIxcCwkfu5cRm8XqutoaRNc8s6ynHhkzhX2GNCTvZoUvF3Idvud6lacHSLn46buDlytOFMC7WzUWNvqrVZkP+XCkYo=