-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy path.travis.yml
More file actions
20 lines (20 loc) · 722 Bytes
/
.travis.yml
File metadata and controls
20 lines (20 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: scala
scala:
- 2.13.12
- 3.3.1
services:
- memcache
env:
- PLAY_VERSION=2.9.0 TRAVIS_JDK=11
# see https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165131913
before_install:
- curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
- cat /etc/hosts
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
- sudo mv /tmp/hosts /etc/hosts
- cat /etc/hosts
install: jabba install "adopt@~1.$TRAVIS_JDK.0-0" && jabba use "$_" && java -Xmx32m -version
# see https://docs.travis-ci.com/user/languages/scala#Default-Test-Command about $TRAVIS_SCALA_VERSION
script:
- sbt ++$TRAVIS_SCALA_VERSION test