This repository has been archived by the owner on Feb 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
34 lines (27 loc) · 2.82 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
language: java
jdk:
- openjdk8
env:
global:
- secure: InasCdjEDrwPhEVvMVUlJdkihLgzs1Jwo5purEcY5xogDvZ9+P0roPb03mWeptNc1y1S+jZ4J6CxxTAQBu7RNiQGTAjgssqT/NDBdYJuY6Nv+YkizinGgfw0/2qfXmQMQ479zHm/kz8XlTN64+vWKRJEN0o/3luARRdr9K20o0Knes79Y/g9XPrCEEVeKvCP/KHLS6XvfI6ItdjbhcytM5IwoKkn9YZRpWGCOhIoZ9tnXByXVYX/mgaBYjbPJlY8SPwoYN5OQz0w/AqwmKXmPG4oVumN04fa1LyB7HiQin3o+QonkQeI7uWHAOFi1ST7HU/7Cxuo5kPw1u8lCH4H/MCGhDAN88jqZvn8eleUBS4Zw+F6AICkVTCy8tbpr7/3if37XNs+t/dRi0oXhlJxeopZu7ctOytK3ZEfZHLY3K6iFkQ23VnH/8NmUMInsuRtV+obmwElgsMvX29lygdCksa/+cfEk4u1hD7sLXSmBToiUHPP5e2yejuhltiYKlJpt6/C8ZBAFc/EfWZUAyt56CLFdeC9mURvecRgRG2DU6wegLtBpDpQI8DXDCYq3FmIZtc/DNDqDl5t/fQiMEkJYLUpfK/3nBtXMlIiPokSM1OogmWJl9RQZz0rmIz96UmZKJshDUR8OUz2XwlC8nJ7FW75AeKNFs6IfDB7ljvadk8=
- secure: V43x7qLAIR04tiDBA7Y2v4RVjbj7ATIm9+ilXjRdaBPpjigRZ5dYQqmGOTs5aIR1JhDiU/dF9uIObzo82epQAnSlOUz138S6AAyTvq3H6vfwPUz6jcNxYlP36rdmRNJa9aXjlNKB8zxmAhOwl0c4S+YYad2LyAanDq6PEMa2vlEqIWDpiJ5YIVjH1UeY6cSpofSc4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4UWHxnn3B1bVVlywXuqN9zOtg+KlWqfh/WWctuYrluyMclA19KXFxLqcKic/DoPLQ2RRTMgdlpzNwB87w5xi4p6GsS7wBR8XXPY=
- BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else
echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
sudo: required
services:
- docker
cache:
directories:
- '$HOME/.m2'
install: ./mvnw install -DskipTests -Dgpg.skip -Dmaven.javadoc.skip=true -V -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
script:
- ./mvnw test && ./ui/build.sh
after_success:
- if [ "$BRANCH" == "master" ]; then
docker build -t logzio/apollo:$TRAVIS_COMMIT .;
docker tag logzio/apollo:$TRAVIS_COMMIT logzio/apollo:latest;
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
docker push logzio/apollo:$TRAVIS_COMMIT;
docker push logzio/apollo:latest;
fi