Skip to content

Commit

Permalink
Setup Shipkit and Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jverbus committed Aug 13, 2019
1 parent 20d0f08 commit 2e56074
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# More details on how to configure the Travis build
# https://docs.travis-ci.com/user/customizing-the-build/

language: scala
scala:
- 2.11.8

jdk:
- oraclejdk8

#Skipping install step to avoid having Travis run arbitrary './gradlew assemble' task
# https://docs.travis-ci.com/user/customizing-the-build/#Skipping-the-Installation-Step
install:
- true

#Don't build tags
branches:
except:
- /^v\d/

#Build and perform release (if needed)
script:
- ./gradlew build -s && ./gradlew ciPerformRelease
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
plugins {
id "org.shipkit.java" version "2.2.5"
}

allprojects {
apply plugin: "eclipse"
apply plugin: "idea"

group = "com.linkedin.isolation-forest"

repositories {
jcenter()
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions build/shipkit/all-contributors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{ "name": "James Verbus", "login": "jverbus", "profileUrl": "https:\/\/github.com\/jverbus", "numberOfContributions": "1" }]
26 changes: 26 additions & 0 deletions gradle/shipkit.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
shipkit {
gitHub.repository = "linkedin/isolation-forest"
gitHub.readOnlyAuthToken = "c2a615888e1b91ac44a80b7cbe450f234a14214f"
gitHub.writeAuthToken = System.getenv("GH_WRITE_TOKEN")
}

allprojects {
plugins.withId("org.shipkit.bintray") {

//Bintray configuration is handled by JFrog Bintray Gradle Plugin
//For reference see the official documentation: https://github.com/bintray/gradle-bintray-plugin
bintray {

key = System.getenv("BINTRAY_API_KEY")

pkg {
repo = 'maven'
user = 'jverbus'
userOrg = 'linkedin'
name = 'isolation-forest'
licenses = ['BSD 2-CLAUSE']
labels = ['spark', 'unsupervised learning', 'outlier detection']
}
}
}
}
3 changes: 3 additions & 0 deletions version.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#Version of the produced binaries. This file is intended to be checked-in.
#It will be automatically bumped by release automation.
version=0.2.1

0 comments on commit 2e56074

Please sign in to comment.