forked from akka/akka-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (58 loc) · 5.41 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
language: scala
scala:
- "2.12.11" # not used for anything but still needed to have sbt available
sudo: false
git:
depth: 500 # to make sure we have enough depth to power git describe for sbt-dynver (used for snapshot version numbers)
before_install:
# make comparing to origin/master work
- git remote set-branches --add origin master && git fetch
# using jabba for custom jdk management
- curl -sL https://raw.githubusercontent.com/shyiko/jabba/0.11.1/install.sh | bash && . ~/.jabba/jabba.sh
- jabba install adopt@1.8-0
- jabba use "adopt@1.8-0"
- java -version
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
- $HOME/.jabba/jdk
- $HOME/.cache/coursier
script:
- sbt -jvm-opts .jvmopts-travis "$CMD"
jobs:
include:
- stage: mima
env: CMD="+mimaReportBinaryIssues"
- stage: whitesource
script: git branch -f "$TRAVIS_BRANCH" && git checkout "$TRAVIS_BRANCH" && sbt whitesourceCheckPolicies whitesourceUpdate
- stage: publish
env: CMD="+publish"
name: artifacts to bintray
- script: eval "$(ssh-agent -s)" && echo $SCP_SECRET | base64 -d > /tmp/id_rsa && chmod 600 /tmp/id_rsa && ssh-add /tmp/id_rsa && sbt -jvm-opts .jvmopts-travis -Dakka.genjavadoc.enabled=true publishRsync
name: paradox and api docs to gustav
stages:
- name: mima
- name: whitesource
if: repo=akka/akka-http AND ( ( branch = master AND type = push ) OR tag =~ ^v )
- name: publish
if: repo=akka/akka-http AND ( ( branch = master AND type = push ) OR tag =~ ^v )
env:
global:
# encrypt with: travis encrypt WHITESOURCE_PASSWORD=...
- secure: "O3bUB/B1CusDUGTcGaMndQK2nPw+XK5GMrecQ9awLCtnX6bkqSdX18pK9l2XP8r7yR+DYyFoyknf1rJ6JiybsBrc3udNpSBBTTG+4EMAMK12kxiQmy82JEepZrD/BkGtmMhzD6X41s+J2tY0XDa6p/Xqbr2Hb+oTQ7+WXdhfwyfdrszUcEL/t1IrdI2jgh37NJlBMuoHUWOXanpVv6KR7Kfjahd34k79bbfEK/8sX4kv7YU7uZWe/UxJse1b767sbijAqInFm+3n3lxv8eqnbbaAcdTuZBYkwkf5uZcXmV/Px1xupPBt1C6k49vfogT148KxJ7CzYawAC3oZq10m8I/6NREPUpoLN6ie+K9g3P+FcvCbKju8sxaoYmxNW+V+r6B/I+mXrbpD5YHT7WpvfF9gZt3HJk3V6/+Cu9vvgrnTGkUYymTWymEGRRq5TB2Q+/IDR7Qq8XTwkzA7UwcQ3WBotVY7TQKMEp9LvILTBnP0GZiUfeq+OXzLUN7sjsaEevD1dV0ZkIeILAFDwEmzPXKlmV70+IIM+Km8uCZ4XJ6GOklnEar+zltwBdFPrcvC6Pcb77O02DeMz773Uu9PxXgdUcjsW06v0wUO+5KXB9Y+6+9SJtW0gs5BtaiUnY7d38YPoXWq9Gm+sNUnJe5NH/nBdjF/O8xqAhUgs0OPApE="
# encrypt with: travis encrypt BINTRAY_USER=...
- secure: "cF1u1wF3Jhn5sfMATA6PltwUdfohX4TMtqluqWtZ5ZhKknIphMa9qmwpyVjaymO9dbEoBTejhGJdvxtwezkHE9K2rYGGP5o5BnOBNrbwY6+Z3FP+woHLUJrLKCL5cQvW+ReVmms7NyE4kH/2ngqXYb9MPHbs8RMXvdjclrZVWaIdyEE1TMb9TBI4F/oEpBY2Gee1eN3n6V7C01prCmrBdA0PHzqDyWIr/Axy+6ok6Fmou1bysSGjYl1aTRZFng/nNBO/smm6HoC9Pxj+uesZjaF0SaS/oce5ke9xefyW93lr024A300sJzVAEpexLgBBGMTupd3hLBRygPbY0B9yH4jPIElM0gRNt65BiV12PNhvRTyFm+OUwDPFiCjD8ttsZWAix5/81nIODMqu1HqViqdY5XQhmJmVjfjXSZHi+IDia2LDWxtq+bJ17YHnCtoGCGHTYbaYuwaESx23HZ90GvSwCtG5p8e7HSB0BUkgDj9BcjI1WQZRoIh8/KFBR04G1hHWt8cLKvefAiN//d+8RaoEza1THkZZqfYYr91QEDJ1xxtUnjKIc24i8FTSvDUJUkCF5xviKiaDzhdaBIIhJDuFJDgzDfQa7ttktkAFuY553fFxHYQVSK2l/FA2WojfEOzlbegKEXe5INfL9AgWLddnVdXtWulAf3hCb7v/WJo="
# encrypt with: travis encrypt BINTRAY_PASS=...
- secure: "ZBEa9eGU+jb6kXh1D53hw0oDIVss1vGMb0boBnQkoGnUI3DLnWbL0x+xNL6yH7V9trl7VnO2XWS+aT+PkY0yZHw1oymwiEwd0wESSrEyY7SwdjYrod+91Y8Yn1e7kainfXs2mH8P0kpKahw/kHZp0o0mEoucYj05zPNAkb2sK56+rzvJ5ohV8fF1k79xLpuJ6RMhDKX2ip/+DGUn5t9SD+tshRY134yh7A8BKcUtPEp30VTaA64+EuVweNtqdonsgCAAoyEei5D6id6tCyqGGnN1c+UXSW5QHunM2LTVGaCi9W3Zm71HCB34YSVsTtTW3CxSWIjsA2yi4HypojPebH3sUpDiBMtbqt2fVpMHjcVDRX5x+p3L2n7GKcWBDTDiCS7YXktzTvZPRyDNL2EZIPpOBDdAAEIkUNP9JjpH47S6lCjsLRFk1JPeBLSfwn3GqUOsvErNDw+VEZ4FQ8wJhptnJcjSUT4pqaRp3KoVMjA1SqajOHelMaIEw1qkH1mvGebVwXVkd86IfY+L6roJi/NwBbSvpovMCfZTTEpApc4AldBFapno3aWHpVkAYWTpv1d39cmzGo3UwKmSAqHMcJPGAB87gW8lzNU8LkCesQ6q46rRT5hJVdbAzf8H4TgYXwObJ6mp6U5IfdXwEcoELdIFI+CMVo09/WteJfW8bB8="
# encrypt with: travis encrypt SONATYPE_USER=...
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