Skip to content

Commit

Permalink
Make this available in maven central #12
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkorzekwa committed Mar 4, 2015
1 parent 2a66ccb commit e777fc8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
language: scala

jdk:
- oraclejdk7
- oraclejdk8
- oraclejdk7
- oraclejdk8

scala:
- 2.10.4
- 2.11.5
- 2.10.4
- 2.11.5

after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && sbt publish

env:
global:
- secure: Je1QhsJGoxF/UNdlnp99wxlyau8GEvFs74U1rx8ZI8dlYP3t0VIsUJhYdAWB69yo9n2+AXpnIyoZEx7KS5LmYOdKq0+AE69DYgkNQQBWfFWTbCC5TCr4nACdnkgUQ4T6+au64DBxqvttAvw21+k85DAjf5y13UVzPcplMsQ1OTo=
- secure: BAJe05BL65jzvNwb1QHqgkN4pVNbLQTp6AGZOu3KvTggXtzFWLRwFBoaQKxNqI3v6i7kbCTqG5X//W8rPPSe0eo/CB6na6egQ0idfqYzor9CQlD0k7bfMQJ4nhoxGnM776I5U0h56oVSxOFi1K6rJRg3/itqXS+EXbyVZ3A0pNs=
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ It is a Scala library for building Bayesian Networks with discrete/continuous va

## How to use it from sbt and maven?

Snapshot artifact is build by a Travis CI and deployed to Sonatype OSS Snapshots repository with every commit to Bayes-scala project. Released versions of Bayes-scala (non-snapshots) are not available at the moment.
Snapshot artifact is built by a Travis CI and deployed to Sonatype OSS Snapshots repository with every commit to Bayes-scala project. Released versions of Bayes-scala (non-snapshots) are not available at the moment.

With sbt build tool, add to build.sbt config file:

```
libraryDependencies ++= Seq(
"com.github.danielkorzekwa" % "bayes-scala_2.10" % "0.5-SNAPSHOT"
)
libraryDependencies += "com.github.danielkorzekwa" % "bayes-scala_2.10" % "0.5-SNAPSHOT"
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
```
Expand Down
4 changes: 4 additions & 0 deletions sonatype.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
credentials ++= (for {
username <- Option(System.getenv().get("SONATYPE_USERNAME"))
password <- Option(System.getenv().get("SONATYPE_PASSWORD"))
} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)).toSeq

0 comments on commit e777fc8

Please sign in to comment.