-
Notifications
You must be signed in to change notification settings - Fork 99
/
.travis.yml
32 lines (30 loc) · 1.09 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
dist: xenial
sudo: false
language: scala
# Activator & Travis image SBT conflicts
# https://github.com/travis-ci/travis-ci/issues/3140
before_install: unset SBT_OPTS JVM_OPTS
# according to http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
# every travis CI has a version of ruby installed
# that's why we can do this
before_script:
- curl -L -o ./typesafe-activator-1.3.6-minimal.zip https://downloads.typesafe.com/typesafe-activator/1.3.6/typesafe-activator-1.3.6-minimal.zip
- unzip -q typesafe-activator-1.3.6-minimal.zip
cache:
directories:
# caching scala stuff based on
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html#%28Experimental%29+Reusing+Ivy+cache
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
jdk:
- openjdk8
scala:
- 2.11.1
script:
- activator-1.3.6-minimal/activator test
# cleanup travis trick from
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html#%28Experimental%29+Reusing+Ivy+cache
- find $HOME/.sbt -name "*.lock" -delete
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
notifications:
irc: "chat.freenode.net#collins"