-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
50 lines (39 loc) · 997 Bytes
/
.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
addons:
apt:
packages:
- graphviz
language: scala
scala:
- 2.10.7
- 2.11.12
- 2.12.11
- 2.13.2
jdk:
- openjdk11
before_cache:
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.cache/coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
before_script:
before_deploy:
deploy:
- provider: script
script: sbt $SBT_ARGS ++$TRAVIS_SCALA_VERSION "set every Seq(sonatypeSessionName := \"Travis Job $TRAVIS_JOB_NAME $TRAVIS_JOB_NUMBER ($TRAVIS_JOB_WEB_URL)\", publishTo := sonatypePublishToBundle.value)" publishSigned sonatypeBundleRelease
cleanup: false
edge: true
on:
all_branches: true
condition: $GITHUB_PERSONAL_ACCESS_TOKEN
env:
- SBT_ARGS=
- SBT_ARGS=--addPluginSbtFile=project/plugins.sbt.scalajs06
sbt_args: $SBT_ARGS
jobs:
exclude:
- scala: 2.10.7
env: SBT_ARGS=