-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
46 lines (35 loc) · 2.39 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
dist: trusty
sudo: false # builds will run on Docker infrastructure!
language: scala
scala:
- 2.12.2
jdk:
- oraclejdk8
- openjdk8
branches:
only:
- develop
- master
- /(release)-.*$/
before_install:
- openssl aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in secring.gpg.enc -out local.secring.gpg -d
- openssl aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in pubring.gpg.enc -out local.pubring.gpg -d
- openssl aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in credentials.sbt.enc -out local.credentials.sbt -d
script:
- sbt ++$TRAVIS_SCALA_VERSION clean compile
- sbt ++$TRAVIS_SCALA_VERSION coverage test
after_success:
- sbt ++$TRAVIS_SCALA_VERSION coverageReport codacyCoverage # uses decrypted CODACY_PROJECT_TOKEN
- scripts/publish.sh
env:
global:
- secure: "uzS5ljC6EvkuhIi9qR3KdwUUuKwzeanLAm9emIxmFn/TX7on0BA6wL+qOzjupHiq5X6SRCD4taXJ7mLfps3mLthD1J+AsgJbCa8i4jz7wXhzv1azHOPaaM+ywjalDajwj6JAPpw3nKtnDjVIIiQ/YTcKonkQqtLRpYyoigJwrgj9X4PbUZPA4D1fuRfvqK1oK3YXMry6f/XKX0Gy0ydJ7e0ZP3JGSe62sbK8RXGlnFi+mJ4oXspqNPPuUkGI7P3RNAOq7a8vcHIGgh267rnDzrnVK50YxP294zA2KaT2nfGBSQTSJH4dd3R7STUHQh71yxeG3na6WF84em5bRkI5vvLqgOOJ140LdIqC6Ez56U209OGs+KPT7Z8KasU4mgSMnNY7GpYGiPDiiawunouUsqNLPsOht3BVrgfsdtsPKW5XAKvRWaCmuHzOykf29VejwTBSzvhRl86ro0XaJo4E4hdYkzNfN9h7yDck1llfPp6fNT1MtVhjn7pECXrY+4R43/lAw4A/ZivK74wXi0SFJTfvAJf+PBs61fbQL2aVQxzoyG8RKut0IOp7UiZIrzfjy0u2f8H4xpOQPLtv1K93yyIV7ETo7JOuGzg7u6q09K7Yz5espemIodkuNYDZ8NcoDwNdoGJj+TEIQgTWcrTTXNAbyWxLRtln0Q6qgc6BK+k="
- secure: "HYKeWN1F445MdALBgDOzzS1aT2wWtxDjgxq0LKh8lAUY5xfrHWdAeMXYacwCLy+q7Ci1lVaVn8MiwV5HaCy1BLVaZHnFvO45O/FALGnvT8vhkWLdAO4WFjpzs5zYZdpFtJeFyujwWfx8toWdXUqX0UEArldeneMbN0Cgk2gblxbishlMJzNoTE8rdTuXwpnNzBsaVGHBMKb7wKwzCZZzH1gR+30veQO8IDsKAmuc7rt7PotkI0w+4q3Aix+zofo1uzfVbOM5tzxnzO1jO9Y8kG26/8iBeD8q3WhUUEQVYYsKrXZeLUe12H92edKN2MbZVmNERTAsIyFFRyZebOpkQgEhd4BgtaA0R89W8+u1XEkblGknwNJla5fVRyoX+0VWvK1pl76kDp/b9UOcHPqSgUteWQ9Wy+XX1zw334SBj8nwZUoO1l+T+EwvnPG8amay1Pqhqn1id+PXIvqT970RElgnovM/fJ/ar0gChFoz+LfdajbclS/V3xhYFlA7UI4F7PWBBpCDa7iJxBYkmvpc5N9W/Kmp9LeeP9HyyEsoN6fXxNEiDz43zRJupnmcYjbs2JFMU1uk+iScJcuaNUBlcTQdONBStTTnoj5yww0Ebgptwk7q5mqvWGyYTz79pBlA88A1B+B/T70Kr/vf7QdsKjsdEpuxgNcOBOxe0NbbRjk="
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/