This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (48 loc) · 3.09 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
language: scala
sudo: true
git:
depth: 9999
scala:
- 2.12.7
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
- du -h -d 1 $HOME/.ivy2/cache
- du -h -d 2 $HOME/.sbt/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
env:
global:
- secure: "UUS0vuYL6jAOuRKpT9KREMIVt/K0nnwdgnMcIeRGwJbR5zpUZEGEhBaGIKs/8g4A2eQxRjA2Dde2Z5rHFdDAkpXQxEPWER9joz7MlhyQG54H2E15HUthgFhnrhjPULYxfkHJp17q0LHmioAzZvkL+3ehsM+d23T7UeO+u7+X06K+2HZ6YaQgB2wtngnMzhtKfhLZnXIX1XoTdmQWnU7OwpwDLMCKRopIVulFjqmkMJ/eCQ/PcFCB0AchXfNiET4/QBL/L7hAwnlt3/ilhmknhVSIEE9klnl70boWIXhgmz6lVzZK7r6UYhKfxekelx/r8wKDCudhsF/8s9mUmvpPFOyq/LSX+JsVighEV0TzfvmY3kxrenOKwkoJm/BqJT7PnCtkpPDPCd5K3GRITtj47lr3aehTSxJp7HnDF7LwjN/1exEV+WSnWHsK+eKyGgRKPUENy4QMJLerC2HC+5BqmWbAsaem82DnnWQ8ktfgRN4mHw/DpWUEThBxnp+YhXjEfWTAFliCRHBWmFP1/rbWcUBsglHUyiZdru7eabskCXdl39B2oosqHF5nmpni6HKgyVpSmpWZ9jVTIiWqIoC+UXo9krsaYMGy+eZB/6B7q9x0gDo+rwHRh1SBDW05shGh41Xj8QM3NcsuIZiU1WPmMF2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1CEmnDzf3re5Vm7g5W8THbksXrWPOoTvXS+Bh6KASc26jFVnKPZFWlO7ilmkBxFWzmxJgx0WGa7uktZFX5v2RYwSOvzcNCp08LpQZ5jijFH1M5JVlAvlGye1qwW0+3HcfFKs2liExi6rhtFNbUusaDlhuduAM8i5re2ld12LkFAYWb27ZpJn5MWkNAiG+acKRpbP3i6ZYis7Xh2uYeio5z1QYP40isTFqV//bX5kbm4eaVkIjnMhnB4TtaNykOXE5qaDf1GXCajrt4fH/QQGw03MKY+DpqndThQ9NQ5kpWzXzZE5MjvMwL09vb0f8vQ1TnuUuDanBD8="
stages:
- name: test
if: NOT tag is present
- name: docs
if: branch = master
- name: release
if: tag IS present
jobs:
include:
- stage: test
install:
- pip install --user codecov
script:
- sbt validateCoverage
- codecov
- stage: release
before_install:
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then openssl aes-256-cbc -K $encrypted_3e9694bf1fbc_key -iv $encrypted_3e9694bf1fbc_iv -in travis/secrets.tar.enc -out travis/secrets.tar -d; tar xv -C travis -f travis/secrets.tar; fi
script: sbt releaseEarly
- stage: docs
install:
- rvm use 2.2.8 --install --fuzzy
- gem install sass
- gem install jekyll -v 3.2.1
script:
- sbt docs/publishMicrosite