-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (36 loc) · 7.07 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
language: java
jdk:
- openjdk8
install: skip
script: "./gradlew check"
after_success:
- test "${TRAVIS_BRANCH}" == "master" && .build/publish.sh
- export VERSION=$(./gradlew properties -q | grep "version:" | awk '{print $2}')
- export TAG="v$VERSION"
- export LAST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
- docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
- docker build -t $DOCKER_HUB_USERNAME/bonsai-sns:0.1.8 -t $DOCKER_HUB_USERNAME/bonsai-sns:latest --build-arg BONSAI_SNS_VERSION=0.1.8 ./docker
- docker push $DOCKER_HUB_USERNAME/bonsai-sns
before_deploy:
- git config --local user.name "Gilberto J Requena"
- git config --local user.email "gh.gilbertojrequena@fastmail.com"
- git tag $TAG
deploy:
provider: releases
api_key:
secure: 00fSG/+80EzWBlvm3rgLZCo5Yn78S5uPiG8srQ8BMytSBqyvQI03L2j4Jx+rVDpEoFkluvc+dESsTYzjpPiScxnLQ0PIk9vPgcsbmZYYG7UTP3DQlv6GQi+knKZi6oUhrITqyYQlCmjUgAIVhWIJ9T3wVcCMigEZcKsTgAodSRtj08oMg2YePmr7Z8QXYTNYlvDgqDjnPxHcevcoD4UZSWDq6X88twdPwjZGcm4uZ1h7cseglU9/WtZe8PDDhmQgyIif0NBJ4RWq5I1yLmJ+jl84hLuX8EHm/cNTlKc7nwTDsWy+V+1nBZXMlwIn05A7nA5H5HQCn/4AxBuF6HFvcP8UBkZePfxW++t4dGtx4c3P4S2eCjqVYIIfJQmcxQtK7W/2ZHZFPxtb5IaIyie9xX/zNn01UKrn1Y17rDBeRaduBw9P9D94WXUC0jSWNN51a1AoGlcwFqSYIBJ08tDxbJkSyGMPaUOF+/hjH+hZ/NH3iDNQ9GdjowdW5QPONN2+iWPAw/uGgfWKqiExyD1fMxm6L2Wmamkv7BiWSiVHZOcMWCiBUUfJ8WlVJs1oQ5l+jAAK7IA+RaUuPw4ume4VTgLRjFbGlktrO4Cfj8pbcrhdM6ogHVIYFKqpaTMs7XXHGXLbDKN3rZdV0cQU36TNCIpFIi7KEVv3MNNiA/jbEz8=
file: build/libs/*
on:
repo: gilbertojrequena/bonsai-sns
branch: master
condition: $VERSION != *"SNAPSHOT" && $LAST_TAG != $TAG
env:
global:
- secure: k/ZCzD31lLDmFV8zQJtASULdqXJin2S8MoUAUzKzutNmM+VD4p26Ttx9ExIO4kBjXfZLSTffEKE2MmAfJFCvYqrJNGgfaBGB5s8jnwtKpPvUY1xw3C8HfkLqJECSrKnvAgxrYYIWHVO+3jhkokqPyvuzjGJoFQwp5OhYpKOpFD6rSAC5hTU0KBwePTg2odSbtf0hj9AsbwgT0rYVKnjpfkvITcVP5JXeKN1fk2nf6e5ljT5JeaHJz7pv4ie7D6zglAqKUL8JKZOJV+PKFWJSVNzPeNuI1FWqZo9MH4UzKwoeqEAwnX0WV4j798q9b1wg4nfQ5z8tFsX610dY4X1MyRnqhUR/Jf5N9JANMtDJXc29CJn7p9sD4dKbu1bbYURkeYx0nD7EPyPxCgwp7pX1G7YlGu1a2Xl/uwHqdUJDhObH5ORw48fEhDqGVVtHl/rMxP0hqziNQpFy0NBxZbJG5AkB2C0XYWwppy5FxItQqOo7Npnbdsr0DZkUOlJNsxHwcMZNhsdSOyI0srsV4Vj1oET9LTQTqpFB0/IvNEX5KqMGEaKfQCH+N6sJ6A030T/0mkymR8RrwMg8+GtCKdo9MyhE0YAhUMxAwTQbR7PpCC9uw/UE9iLkLpV88l5TuCixmky4pwZVd3wmiMZt8LqVXNTDqiGZHurdEsJ74RQFPJU=
- secure: Jgv6+98rqTXJyLiisS/sA4ts4V4ZYCS2uxlPrRykjXsO7No0Qj4bEqYiT+hiHAFf87pI+mlJ5r0B1cRHaXazcYg8mTSxO8yCMWb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