diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9bcf999..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: java -jdk: - - oraclejdk8 diff --git a/README.md b/README.md index 76e6ca6..0f18c9d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Teamcity AWS Elastic Beanstalk Plugin (teamcity-aws-elasticbeanstalk-plugin) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a88f10539dbd47b588cf444b57346d5b)](https://www.codacy.com/app/Codacy/teamcity-aws-elasticbeanstalk-plugin?utm_source=github.com&utm_medium=referral&utm_content=rtfpessoa/teamcity-aws-elasticbeanstalk-plugin&utm_campaign=Badge_Grade) -[![Travis](https://travis-ci.org/rtfpessoa/teamcity-aws-elasticbeanstalk-plugin.svg?branch=master)](https://travis-ci.org/rtfpessoa/teamcity-aws-elasticbeanstalk-plugin) +[![CircleCI](https://circleci.com/gh/rtfpessoa/teamcity-aws-elasticbeanstalk-plugin.svg?style=svg)](https://circleci.com/gh/rtfpessoa/teamcity-aws-elasticbeanstalk-plugin) [![Dependency Status](https://dependencyci.com/github/rtfpessoa/teamcity-aws-elasticbeanstalk-plugin/badge)](https://dependencyci.com/github/rtfpessoa/teamcity-aws-elasticbeanstalk-plugin) teamcity-aws-elasticbeanstalk-plugin is a **VERY EARLY STAGE** Teamcity plugin that allows deployments diff --git a/build.gradle b/build.gradle index aed6717..e491533 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { } -ext.teamcityVersion = hasProperty('teamcity.version') ? property('teamcity.version') : '10.0-SNAPSHOT' +ext.teamcityVersion = hasProperty('teamcity.version') ? property('teamcity.version') : '10.0.2' ext.teamcityDir = hasProperty('teamcity.dir') ? property('teamcity.dir') : "$rootDir/teamcity/app" ext.teamcityDataDir = "$rootDir/teamcity/data" diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..7699545 --- /dev/null +++ b/circle.yml @@ -0,0 +1,18 @@ +machine: + java: + version: oraclejdk8 +dependencies: + override: + - ./gradlew assemble +test: + override: + - ./gradlew check +deployment: + staging: + branch: /.*/ + commands: + - ./gradlew build:build +general: + artifacts: + - "build/build/distributions/aws-elasticbeanstalk-plugin-agent.zip" + - "build/build/distributions/aws-elasticbeanstalk-plugin.zip"