Skip to content

Commit b41ab9f

Browse files
committed
wip
1 parent a5e4b99 commit b41ab9f

File tree

1 file changed

+11
-24
lines changed

1 file changed

+11
-24
lines changed

.travis.yml

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
1+
version: ~> 1.0 # needed for imports
2+
3+
import: scala/scala-dev:travis/default.yml
4+
15
language: scala
26

37
scala:
48
- 2.13.1
59

610
env:
7-
- SCALAJS_VERSION= ADOPTOPENJDK=8
8-
- SCALAJS_VERSION=0.6.31 ADOPTOPENJDK=8
9-
- SCALAJS_VERSION=1.0.0-RC2 ADOPTOPENJDK=8
10-
- SCALAJS_VERSION= ADOPTOPENJDK=11
11-
12-
before_install:
13-
# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
14-
- "[[ -d $HOME/.sdkman/bin ]] || rm -rf $HOME/.sdkman/"
15-
- curl -sL https://get.sdkman.io | bash
16-
- echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config
17-
- source "$HOME/.sdkman/bin/sdkman-init.sh"
11+
- ADOPTOPENJDK=8 SCALAJS_VERSION=
12+
- ADOPTOPENJDK=8 SCALAJS_VERSION=0.6.31
13+
- ADOPTOPENJDK=8 SCALAJS_VERSION=1.0.0-RC2
14+
- ADOPTOPENJDK=11 SCALAJS_VERSION=
1815

1916
install:
20-
- sdk install java $(sdk list java | grep -o "$ADOPTOPENJDK\.[0-9\.]*hs-adpt" | head -1)
21-
- unset JAVA_HOME
22-
- java -Xmx32m -version
2317
- git fetch --tags # get all tags for sbt-dynver
2418

2519
script: ./build.sh
2620

27-
before_cache:
28-
- rm -f $HOME/.ivy2/.sbt.ivy.lock
29-
- find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm
30-
- find $HOME/.sbt -name "*.lock" | xargs rm
31-
cache:
32-
directories:
33-
- $HOME/.ivy2/cache
34-
- $HOME/.sbt
35-
- $HOME/.cache/coursier
36-
- $HOME/.sdkman
21+
notifications:
22+
email:
23+
- seth.tisue@lightbend.com

0 commit comments

Comments
 (0)