Skip to content

Commit 77b666a

Browse files
authored
Merge pull request #299 from lightbend/bye-bye-travisci
2 parents 9185935 + b836243 commit 77b666a

File tree

6 files changed

+50
-35
lines changed

6 files changed

+50
-35
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: test
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
test:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
java: [8, 11, 17]
13+
scala: [2.11.12, 2.12.15, 2.13.6, 3.0.2]
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- uses: coursier/cache-action@v6
20+
- uses: actions/setup-java@v2
21+
with:
22+
distribution: temurin
23+
java-version: ${{matrix.java}}
24+
- name: Test
25+
run: |
26+
sbt ++${{matrix.scala}} test
27+
git diff --exit-code # check scalariform

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
on:
3+
push:
4+
tags: ["*"]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- uses: actions/setup-java@v2
13+
with:
14+
distribution: temurin
15+
java-version: 8
16+
- run: sbt ci-release
17+
env:
18+
PGP_PASSPHRASE: ${{secrets.PGP_PASSPHRASE}}
19+
PGP_SECRET: ${{secrets.PGP_SECRET}}
20+
SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}}
21+
SONATYPE_USERNAME: ${{secrets.SONATYPE_USERNAME}}

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# scala-logging [![Build Status](https://travis-ci.com/lightbend/scala-logging.svg?branch=master)](https://travis-ci.com/lightbend/scala-logging)
2-
31
Scala Logging is a **convenient** and **fast** logging library wrapping [SLF4J](http://www.slf4j.org).
42

53
It's convenient, because you can simply call log methods, *without* checking whether the respective log level is enabled:

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// basics
22

33
name := "scala-logging"
4+
crossScalaVersions := Seq("3.0.2", "2.11.12", "2.12.15", "2.13.6")
5+
scalaVersion := crossScalaVersions.value.head
46
scalacOptions ++= Seq(
57
"-unchecked",
68
"-deprecation",

project/plugins.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3")
22
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.6")
33
addSbtPlugin("com.scalapenos" % "sbt-prompt" % "1.0.2")
44
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.9")
5-
addSbtPlugin("com.dwijnand" % "sbt-travisci" % "1.2.0")

0 commit comments

Comments
 (0)