This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
72 lines (58 loc) · 3.71 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
72
language: scala
sudo: required
dist: trusty
git:
depth: 9999
scala:
- 2.11.12
jdk:
- oraclejdk8
matrix:
include:
- scala: 2.12.4
jdk: oraclejdk8
before_install:
- wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2
- tar -xvf protobuf-2.5.0.tar.bz2
- cd protobuf-2.5.0 && ./configure --prefix=/usr && make && sudo make install && cd .. && rm -rf protobuf-2.5.0
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash
scripts/decrypt-keys.sh; fi
- export PATH=${PATH}:./vendor/bundle
install:
- pip install --user codecov
- rvm use 2.2.5 --install --fuzzy
- gem update --system
- gem install sass
- gem install jekyll -v 3.2.1
script:
- scripts/travis.sh
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then bash
scripts/publish-microsite.sh; fi
- if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then echo "Not in master branch, skipping
deploy and release"; fi
env:
global:
# codacy
- secure: "I5E5zo9idQ31a/9M4aHsyTtJzyUj83Exwix2YKo36h1pv8ptDd8CWwBFwuT8gBzIEuvQY8kDGOuwJ0iGadW07U8OjIzOIIPePfhgUMK6Pmgw8r9sZdFbG1Cce2v+Bq4SMwimAqdw20LfLYUPgcrPr2DCRhnTuPXXeqt7Zhr6iiU4V7+euqySjWIxGXZ0JTMcPp5S6ll/qEDDztKcQwYLPzRq26T7HrG+rW6mJsQh75Or/gx78I7v7pXfEy3R3Q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M64VDIKWorCYErVaqjWiGmV6gZzeENJnz60="
- secure: "gM2RHuxEmjhyok779vMEuybT2nueLkNYh1OwZp1jUuxYw6xZ9mPdJA6ViRV+7guC3ivt6V7Z0uPZzQWOhXyJ16q3OZD1J+yPWTLSiBEdwpw9mio7pI9paHYv2swXa+s2U4V+OuB+7j6HPKsj/ozNH2YMGFvJTFZOMtY4ep5hbUDQkzR9XUkjw1AVjaeZyxZyyYbyXzveK/fCyJlDLe8cDtfWHxP8VnJPxk/SRPtOQuGQpFwic6cHHWWd7v4v1OVV5EviPohknL/BPVVroYMRXNJw55w2YqclLVbHy6YfGjxxZvvPvCUr9YqQuav4thqNcvEWRqIKvSCu7yeMi28LrH56P4Y9H8Xs4CNuNA9tIXnL39VijCwuI55TnVte2AVZcPDNYd5RD8Y9Syzed9SO9+PlIwF0NtrXVxrzOXun5PXf0f4nRuqwP8uqvz3LQqm4tIJoSCU3OYoaxUkDsrtjQ0Xtg5xalR63DdSruVQux56GYMkmGS98C3hIrqdc6tdwh8vV/yLgWARO7g9om5rFPnB5M78QS739JQPeZKTvtKZRKlcR2zoyTmAa0u/s9h3Y4ogtF7JcQ6j9PUxmK1X2WLEms5BbW32umws7siXze8CLzzPXrJLGUVpV6NxDts5cokR3U+qecmLD+JmOLb0GfCPENfHapG7cnyWXMfM7Os4="
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/0ad8d9cfd5f87cc32760
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
cache:
directories:
- $HOME/.sbt/0.13/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
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