-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
32 lines (32 loc) · 944 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
language: scala
scala:
- 2.12.10
- 2.13.1
jdk:
- openjdk8
dist: trusty
services:
- docker
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
install:
- sudo apt-get update
- sudo apt-get install zsh
- sudo chmod +x scripts/*
- ./sbt ++$TRAVIS_SCALA_VERSION update
before_script:
- sudo service mysql stop
- sudo service postgresql stop
- docker-compose up -d
script: ./sbt ++$TRAVIS_SCALA_VERSION fullTest
after_script:
- docker-compose down --remove-orphans
- scripts/prepare-test-results-for-ci.sh
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
notifications:
email:
on_success: never
on_failure: change