-
Notifications
You must be signed in to change notification settings - Fork 55
/
.travis.yml
48 lines (38 loc) · 1.53 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
language: scala
scala:
- "2.11.12"
- "2.12.10"
- "2.13.1"
sudo: false
script:
- sbt ++$TRAVIS_SCALA_VERSION jvmRoot/clean jvmRoot/test
- sbt ++$TRAVIS_SCALA_VERSION jsRoot/clean jsRoot/test
after_success:
# Snapshot publishing via Travis (only for authoritative repo and on master branch) courtesy of Jan Machacek, thanks!
# http://www.cakesolutions.net/teamblogs/publishing-artefacts-to-oss-sonatype-nexus-using-sbt-and-travis-ci
- "[[ \"$TRAVIS_REPO_SLUG\" == \"wix/accord\" ]] && [[ \"$TRAVIS_BRANCH\" == \"master\" ]] && { sbt \"++$TRAVIS_SCALA_VERSION publish\"; };"
jdk:
- oraclejdk8
- oraclejdk11
env:
global:
- secure: GobrEjsijaLyg0rQ06IPoI/pnZansnEucxB1SgSQmgfLMhofVnhrUxjsmzEx8fBMCF+8bB8qBvRdwIzfw3Sv4Y+/pSZtpUIPMNU/Q7WtpBzxCL0pptqqs+ap3Gxxs3mYEY9X86QM+VhUOvLv49nl3BjVmN7h1sSRDM9Oi1LcPrQ=
- secure: B7EMoExgWz5ajpDZPp+jKf+Hp3Vh23FBDka59N0iAeZFlt+7MPZlcLdUoOi2gAfq2fIRYSkxV3fIgk+Htk6YWWBA7wl9QTCBJG+xfsVeMXr8KsOVPPMmFzaG0KtOVPLRrXCd23xBqSQGmPZduZUQiZq3dqxlijOB8aUnyh/R044=
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d3c83757dec6f0aa0382
on_success: change
on_failure: always
on_start: never
# Cache bootstrap and dependency files for (hopefully) faster builds, per recommendation in
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
- $HOME/.sbt/launchers/
before_cache:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
dist: trusty