An open API service indexing awesome lists of open source software.

https://github.com/atry/ci-template-for-sbt-libraries

Travis CI template repository for Sbt libraries
https://github.com/atry/ci-template-for-sbt-libraries

Last synced: 5 months ago
JSON representation

Travis CI template repository for Sbt libraries

Awesome Lists containing this project

README

          

# CI template for Sbt libraries

This is a template for easy setup CI

## Usage

### Step 1:

Create a secret [gist](https://gist.github.com/) or another private GIT repository and put the following file into it:

#### `id_rsa`

Your RSA private key used to push changes to Github

#### `secring.asc`

Your PGP private key used to sign your artifacts that will be pushed to Nexus

#### `sonatype.sbt`
A Sbt configuration file that contains your username and password for Nexus.

``` sbt
credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", "your-username", "your-password")
```

#### `haxelib.sbt`

A Sbt configuration file that contains your username and password for Haxelib.

``` sbt
haxelibSubmitUsername := "your-username"

haxelibSubmitPassword := "your-password"
```

### Step 2:

``` bash
git pull https://github.com/Atry/ci-template-for-sbt-libraries.git ci
```

or

``` bash
git pull https://github.com/Atry/ci-template-for-sbt-libraries.git haxe
```

### Step 3:

Merge conflicts.

### Step 4:

On Travis CI's settings page, set environment variable `secret_git` pointing to your Gist or your private GIT repository.

### Step 5:

Rename `deploy.sh.disable` to `deploy.sh`.

### Step 6:

Push changes.