forked from akka/akka-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (44 loc) · 4.92 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
49
50
51
52
53
language: scala
sudo: false
scala:
- "2.11.8"
jdk:
- oraclejdk8
addons:
apt:
packages:
- graphviz
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
script:
# need to override as the default is to test
- sbt -J-XX:ReservedCodeCacheSize=256m +update
# make 'git branch' work again
- git branch -f "$TRAVIS_BRANCH" && git checkout "$TRAVIS_BRANCH"
# check policies, if on master also upload
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]]; then sbt 'set credentials += Credentials("whitesource", "whitesourcesoftware.com", "", System.getenv("WHITESOURCE_KEY"))' whitesourceCheckPolicies whitesourceUpdate; else sbt 'set credentials += Credentials("whitesource", "whitesourcesoftware.com", "", System.getenv("WHITESOURCE_KEY"))' whitesourceCheckPolicies; fi
deploy:
provider: script
script:
- sbt -J-XX:ReservedCodeCacheSize=256m +publish
# - sbt -J-XX:ReservedCodeCacheSize=256m +publish akka-http/bintraySyncMavenCentral # enable if we want to sync to central automatically
on:
tags: true
repo: akka/akka-http
env:
global:
# encrypt with: travis encrypt WHITESOURCE_KEY=...
- secure: "E/3196XY+pkliegzUSqjRsM/nfwWp+xTysKdhTDkt6gt3CarwjAIiDQ/iXltlfQ5CMFsZJ5nmafDCxtOvyXWxgDVGR7qOXjRx7wCJOMp7KFham5OE5rS1Vfzxhd/zMnVrG64Oidm3zmqpSbTIJUCp+unsMY3tCZVuiQJPtW4/gF/l2yr5CJSBuQXhSrbYExffDgVNyYl/VAq/N08SCzQ9bn99kiowVrRXUt2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