From 97af8d96e225147375710e12f1dee906ddd57350 Mon Sep 17 00:00:00 2001 From: Mathieu Cartoixa Date: Mon, 1 Jan 2018 18:51:49 +0100 Subject: [PATCH] Configure Continuous Integration --- .travis.yml | 12 ++++++++++++ README.md | 7 ++++++- build.xml | 14 +++++++++++++- dlm/INFO | 2 +- dlm/build.xml | 7 ++++++- 5 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7747f3d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: php +php: + - '5.6' + +env: + - DLM_PACKAGE_VERSION=1.0.$TRAVIS_BUILD_NUMBER + +install: + - php bin/composer.phar install -q -n + +script: + - vendor/bin/phing -f build.xml prepare.version release \ No newline at end of file diff --git a/README.md b/README.md index c9ff724..a92c904 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# Build +[![Build status](https://travis-ci.org/mcartoixa/synology-dlm-tpb.svg?branch=master)](https://travis-ci.org/mcartoixa/synology-dlm-tpb) +# Installation +- Download the latest version of the module and install it in the [BT Search section of Download Station](https://www.synology.com/en-global/knowledgebase/DSM/help/DownloadStation/download_setup#torrent). + +# Development +## Build - Run the following command from this directory: `build.bat` - Prerequisites: diff --git a/build.xml b/build.xml index 1538d7c..e2a27b7 100644 --- a/build.xml +++ b/build.xml @@ -3,6 +3,8 @@ + + @@ -15,7 +17,17 @@ - + + + + + + + + + + + diff --git a/dlm/INFO b/dlm/INFO index 71481af..9b663cc 100644 --- a/dlm/INFO +++ b/dlm/INFO @@ -2,7 +2,7 @@ "name": "mcartoixa_thepiratebay", "displayname": "The Pirate Bay", "description": "The Pirate Bay search module for Synology Download Manager", -"version": "0.1", +"version": "0.0.0", "site": "https://piratebay.to/", "module": "search.php", "type": "search", diff --git a/dlm/build.xml b/dlm/build.xml index 16a5b7b..1833859 100644 --- a/dlm/build.xml +++ b/dlm/build.xml @@ -3,6 +3,8 @@ + + @@ -20,7 +22,10 @@ - + + + +