-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
107 lines (95 loc) · 3.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
sudo: required
dist: bionic
notifications:
slack:
on_failure: always
matrix:
fast_finish: true
include:
# https://sdkman.io/install
# https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html
- name: "Install sbt from SDKMAN wo snaps on bionic amd64"
dist: bionic
arch: amd64
language: scala
scala:
- 2.11.8
script:
- curl -s "https://get.sdkman.io" | bash
# open a new terminal, or run the following in the existing one
- source "/home/travis/.sdkman/bin/sdkman-init.sh"
- sdk list java
- sdk install java 15.0.1.j9-adpt
- sdk install sbt
after_success:
- deactivate
- name: "Install sbt(blackduckcopilot) from DEB package wo snaps on bionic amd64"
dist: bionic
arch: amd64
language: scala
scala:
- 2.10.6
script:
- cd sbt/example-sbt-blackduckcopilot && sbt package
after_success:
- bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload)
- deactivate
- name: "Install sbt(gatling scalafmt) from DEB package wo snaps on bionic amd64"
dist: bionic
arch: amd64
language: scala
scala:
- 2.12.8
script:
- cd sbt/example-sbt-gatling && sbt package #OK
after_success:
- deactivate
# https://www.scala-sbt.org/1.x/docs/sbt-by-example.html
# https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html
- name: "Install sbt(scalatest) from DEB package wo snaps on bionic amd64"
dist: bionic
arch: amd64
language: scala
scala:
- 2.13.1
script:
- echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
- sudo apt-get update -qq
- sudo apt-get install sbt -yqq
- cd sbt/example-sbt-scalatest && sbt package
after_success:
- deactivate
# https://www.scala-sbt.org/1.x/docs/sbt-by-example.html
# https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html
- name: "Install sbt(findbugs) from DEB package wo snaps on bionic amd64"
dist: bionic
arch: amd64
language: scala
scala:
- 2.11.8
script:
- echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
- sudo apt-get update -qq
- sudo apt-get install sbt -yqq
- cd sbt/example-sbt-findbugs && sbt package
after_success:
- deactivate
- name: "Installing sbt from a third-party package(homebrew) on macOS 10.15.7 osx xcode12.2"
os: osx
osx_image:
- xcode12.2 #macOS 10.15.7
addons:
homebrew:
packages:
- sbt
update: true
language: scala
scala:
- 2.11.8
script:
- sbt package
after_success:
- deactivate