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
- Host: GitHub
- URL: https://github.com/atry/ci-template-for-sbt-libraries
- Owner: Atry
- License: mit
- Created: 2016-01-27T20:56:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-26T06:53:58.000Z (over 10 years ago)
- Last Synced: 2025-01-20T22:13:14.289Z (over 1 year ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.