Added cirlceci configuration.

This commit is contained in:
Erik C. Thauvin 2017-05-29 19:04:46 -07:00
parent 0e3604638b
commit 54822780ff
5 changed files with 21 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# VersionEye plug-in for [Kobalt](http://beust.com/kobalt/home/index.html) # VersionEye plug-in for [Kobalt](http://beust.com/kobalt/home/index.html)
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Build Status](https://travis-ci.org/ethauvin/kobalt-versioneye.svg?branch=master)](https://travis-ci.org/ethauvin/kobalt-versioneye) [![Dependency Status](https://www.versioneye.com/user/projects/58ff729f6ac171425cd00acf/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/58ff729f6ac171425cd00acf) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-versioneye/images/download.svg) ](https://bintray.com/ethauvin/maven/kobalt-versioneye/_latestVersion) [![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Build Status](https://travis-ci.org/ethauvin/kobalt-versioneye.svg?branch=master)](https://travis-ci.org/ethauvin/kobalt-versioneye) [![Dependency Status](https://www.versioneye.com/user/projects/58ff729f6ac171425cd00acf/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/58ff729f6ac171425cd00acf) [![CircleCI](https://circleci.com/gh/ethauvin/kobalt-versioneye/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/kobalt-versioneye/tree/master) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-versioneye/images/download.svg) ](https://bintray.com/ethauvin/maven/kobalt-versioneye/_latestVersion)
[![VersionEye Logo](src/site/images/VersionEyeLogo.png)](https://www.versioneye.com) [![VersionEye Logo](src/site/images/VersionEyeLogo.png)](https://www.versioneye.com)

13
circle.yml Normal file
View file

@ -0,0 +1,13 @@
machine:
java:
version: oraclejdk8
dependencies:
override:
- chmod +x kobaltw
test:
override:
- ./kobaltw assemble test
post:
- cp -r kobaltBuild/test-output/* $CIRCLE_TEST_REPORTS/

View file

@ -6,7 +6,7 @@ import net.thauvin.erik.kobalt.plugin.versioneye.*
// ./kobaltw versionEye // ./kobaltw versionEye
val bs = buildScript { val bs = buildScript {
//repos(file("K:/maven/repository")) repos(localMaven())
plugins("net.thauvin.erik:kobalt-versioneye:") plugins("net.thauvin.erik:kobalt-versioneye:")
} }

View file

@ -1,5 +1,6 @@
import com.beust.kobalt.buildScript import com.beust.kobalt.buildScript
import com.beust.kobalt.file import com.beust.kobalt.file
import com.beust.kobalt.localMaven
import com.beust.kobalt.plugin.packaging.assemble import com.beust.kobalt.plugin.packaging.assemble
import com.beust.kobalt.plugin.publish.autoGitTag import com.beust.kobalt.plugin.publish.autoGitTag
import com.beust.kobalt.plugin.publish.bintray import com.beust.kobalt.plugin.publish.bintray
@ -12,7 +13,7 @@ import org.apache.maven.model.Model
import org.apache.maven.model.Scm import org.apache.maven.model.Scm
val bs = buildScript { val bs = buildScript {
repos(file("K:/maven/repository")) repos(localMaven())
plugins("net.thauvin.erik:kobalt-maven-local:", "net.thauvin.erik:kobalt-versioneye:") plugins("net.thauvin.erik:kobalt-maven-local:", "net.thauvin.erik:kobalt-versioneye:")
} }
@ -24,7 +25,7 @@ val p = project {
name = "kobalt-versioneye" name = "kobalt-versioneye"
group = "net.thauvin.erik" group = "net.thauvin.erik"
artifactId = name artifactId = name
version = "0.4.5" version = "0.4.6"
pom = Model().apply { pom = Model().apply {
description = "VersionEye plug-in for the Kobalt build system." description = "VersionEye plug-in for the Kobalt build system."
@ -47,11 +48,11 @@ val p = project {
dependencies { dependencies {
compileOnly("com.beust:$kobaltDependency:") compileOnly("com.beust:$kobaltDependency:")
compile("com.squareup.okhttp3:logging-interceptor:jar:3.7.0") compile("com.squareup.okhttp3:logging-interceptor:jar:3.8.0")
} }
dependenciesTest { dependenciesTest {
compile("org.testng:testng:") compile("org.testng:testng:6.11")
} }
assemble { assemble {

View file

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.thauvin.erik</groupId> <groupId>net.thauvin.erik</groupId>
<artifactId>kobalt-versioneye</artifactId> <artifactId>kobalt-versioneye</artifactId>
<version>0.4.5</version> <version>0.4.6</version>
<name>kobalt-versioneye</name> <name>kobalt-versioneye</name>
<description>VersionEye plug-in for the Kobalt build system.</description> <description>VersionEye plug-in for the Kobalt build system.</description>
<url>https://github.com/ethauvin/kobalt-versioneye</url> <url>https://github.com/ethauvin/kobalt-versioneye</url>
@ -27,11 +27,6 @@
<url>https://github.com/ethauvin/kobalt-versioneye</url> <url>https://github.com/ethauvin/kobalt-versioneye</url>
</scm> </scm>
<dependencies> <dependencies>
<dependency>
<groupId>com.beust</groupId>
<artifactId>kobalt-plugin-api</artifactId>
<version>(0,]</version>
</dependency>
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId> <artifactId>logging-interceptor</artifactId>