From fb13c53de6b3845c0d729ee0d129a2855b1d22d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sat, 15 Oct 2016 14:46:19 +0200 Subject: [PATCH] Prepare the automatic build of releases --- .travis.yml | 18 ++++++++++++++++++ build.xml | 13 +++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0ec3b677a..5789bf131 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,3 +35,21 @@ env: sudo: false +before_deploy: + - composer install phing + - phing + - export RELEASE_FILE=$(ls ./cops-*.zip) + +deploy: + provider: releases + api_key: + secure: kNFtDsBbAGRgAYD7KHFMORsItciahDz88AjhpQbtFAN1Nrz4EIQA+0jpS7+5NYHsnb4LMcuH/BubopNlpoumy+IrUZ3+64D+NcK50YmK0sPhM1aAtEIDlXnivIvqFemzW2lCv9vvJjbmJFI1zcH877aBODJB81N6hA5zbSbIszA= + skip_cleanup: true + file: + - "${RELEASE_FILE}" + on: + tags: true + repo: seblucas/cops + php: 5.6 + + diff --git a/build.xml b/build.xml index c4e32e1e7..592e87f90 100644 --- a/build.xml +++ b/build.xml @@ -5,6 +5,7 @@ + @@ -15,8 +16,17 @@ + + + + + + + + - + + @@ -28,7 +38,6 @@ -