-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
30 lines (30 loc) · 2.79 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
language: scala
scala:
- 2.12.1
jdk:
- oraclejdk8
branches:
only:
- master
sudo: required
dist: trusty
group: legacy
addons:
postgresql: '9.5'
services:
- postgresql
- rabbitmq
- docker
env:
global:
- secure: AhxcEDP6QCM0H2txbT8b7J+7b0Ho9K5Rqik1cTc69+WfU8DPiri9g7SXKpVMxqya2e/fsvHTnTTTSTpyuj1YKElEFYZyqrTgqxkDao1n6K1nHh8dVab3qMW6uM72CfaE/7IbaHUN5gdKQFykGt+Z0jsBZpVt06clWXzv+979N/AxAtDpd+M9fSCEPX2P8MEBBoNX/q4VY9+pYvn8iVeSZ6piSV1sKCxitKVUZXk8TTcuiYu3f1YVCdzn+QaMaQIo/89LyyAsjGPKLMSvwwmNvBmQ8+dxoI93Fml4SiXodSKEDILQNQw1NjYt+0xwxuWRTlpGbwWdxRIoL4ki8DjJ3uBNcfTNP1C/tK8hVLuQxxD5Wn5BbvyHwcw9A2H+wLufVRxeMirsdprASHiqRsz2Xf3jKdRE80aSpwnaS+X3TvO23NCys46dcs+WYQI5K2EwtKq0oWHbXb/dc2caVruxqxEtbB6R5IzWPym2G9bg394huqkxSIB1HDFMpnUIk62itrzV0ggTv2OQ9qXZUg8ytS1hYG7lzJKZRRDttJyFfG4wSdIoeUs569+UpFfeiNoyEHU1XTHT+IJEiGd73Ucu+lzXvTOazqIeeFhs+tarfOp5j3M0HhA3IfC99OlLElqIZRYwe1I2gjaeZJLZdKnyUqfAB45SHLNCC1BG2OGbuxQ=
- secure: WlnBYYy/hkjMH8RlMnl7OCp64Hd41Xkfn3RqEpKB6yPPtCmyLMmtG5LRFuNraGhtVNTQbvcF1ZtHE4dYeIsctjtCWbhi/N80tjgatccfLUQNeHPrtOZlncRFNuJyhEgmYlmsDSNT1vrWsO9RN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SIzQmlvOhJU/XLD6X6aCb0Yznfu7i77tV2iwUDkXJSH9NYnk3Lo1vGtemNY79er1eTbrPi9Y29IjUFwbsbMwUuf7yCNn/tJstZ4nHUktwE2JTTCpgdqq20SCEvmcH1/lXG7TYVklaAWuhVgNE=
after_success:
#TRAVIS_BRANCH works weirdly on PR's. On a PR it returns the destination request which is not what we want
# See https://github.com/travis-ci/travis-ci/issues/6652
- export REAL_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH};
- if [ "$REAL_BRANCH" = "master" ]; then make image; fi
- if [ "$REAL_BRANCH" = "master" ]; then docker tag csync ibmcom/csync:latest; fi
- if [ "$REAL_BRANCH" = "master" ]; then docker login -u=$DOCKER_USER -p=$DOCKER_PASSWORD; fi
- if [ "$REAL_BRANCH" = "master" ]; then docker push ibmcom/csync:latest; fi