-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
47 lines (47 loc) · 1.47 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
language: scala
sudo: false
jdk:
- oraclejdk9
script: "./build.sh"
before_cache:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
env:
- BUILD_LABEL=4.0.${TRAVIS_BUILD_NUMBER}
before_deploy:
- "./deploy.sh"
- nvm install v7.8.0
- nvm use v7.8.0
- npm install -g yarn
- "./docs/deploy.sh"
deploy:
- provider: releases
api_key:
secure: "ZTFOgEhlE1uVQEscFJ0ctJoCCtpbHrueeYpSKot6i8hAUK3SlZ+9c1jirz+76ZAHTiAEvNOVj9Wo8PGJpUFMYLTxFsMoE+tPnUVplv6kZ4ycwzCo9xJwRy2UP4F91Sg3IjITzCErnx2l2G0p+3Dd7Y59l6wXJ8WjJhPBju7b9wU="
file:
- "./fetch/target/s3fetch-assembly-${TRAVIS_TAG}.jar"
- "./publish/target/s3publish-assembly-${TRAVIS_TAG}.jar"
- "./material/target/s3material-assembly-${TRAVIS_TAG}.jar"
skip_cleanup: true
on:
tags: true
- provider: pages
local_dir: docs/_book
skip_cleanup: true
target_branch: gh-pages
github_token:
secure: C+vg/B+z+fqEtWh80ovIRruknQgG1sL/OaM5E4xhy589uGi6MDHrAZS9YuZ5ViQFjfCGGo+XzS8Up86yYPMTr1F+kRTViO/pGZst1yA8xO5o7Ep1Xd+q2mItpAhGMPJU0q41G9gIg0epF0OyIuYeXcAXo5h0LsNBS6PAQQEfpJQ=
email: manoj@indix.com
name: Manoj
on:
branch: master
notifications:
slack:
rooms:
secure: HQdcZwqDY9+vGW7N9YZ2tFeU50SgqrWEQefI/injWVcndkAL7U/TFOoFvyOdxPZA1sya3aKUyAfVVv7BzMdPUfas41LgYj+iSWAaidiwqrJMp3lkvvALoXId9IDrdWcbhqJ4F51dfO8ck6Jf0S9cXtXC8/dSunWJORdr9ycgkxs=
on_success: change
on_failure: always