Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit e4c6738

Browse files
committed
Add travis build descriptor
1 parent 6533a4c commit e4c6738

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.travis.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: scala
2+
3+
# only trigger builds on master
4+
branches:
5+
only:
6+
- master
7+
8+
before_script:
9+
- sudo chmod +x /usr/local/bin/sbt
10+
11+
script:
12+
- sbt clean coverage test coverageReport coverageAggregate
13+
14+
scala:
15+
- 2.11.11
16+
- 2.12.3
17+
18+
before_install:
19+
- pip install --user codecov
20+
21+
after_success:
22+
- codecov
23+
24+
jdk:
25+
- oraclejdk8

build.sbt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
val scala210 = "2.10.6"
21
val scala211 = "2.11.11"
32
val scala212 = "2.12.3"
43

@@ -9,7 +8,7 @@ lazy val commonSettings = Seq(
98
description := "Scala XML library revisited",
109
licenses += ("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
1110
homepage := Some(url("https://github.com/gnieh/scala-xml")),
12-
crossScalaVersions := Seq(scala210, scala211, scala212),
11+
crossScalaVersions := Seq(scala211, scala212),
1312
parallelExecution := false,
1413
fork in test := true,
1514
scalacOptions in (Compile,doc) ++= Seq("-groups", "-implicits"),

0 commit comments

Comments
 (0)