-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
30 lines (25 loc) · 1.8 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: java
# We build with 8 but target 6 via compiler settings in pom
jdk:
- oraclejdk8
before_install:
#these env vars are only set for internal repo PRs and branches...forks won't have em
- if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | gpg --batch --import; fi
- if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | gpg --batch --import-ownertrust; fi
install: true
script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./mvnw clean test jacoco:report coveralls:report -B -U; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ "$TRAVIS_BRANCH" = "master" ]; then ./mvnw clean deploy jacoco:report coveralls:report --settings .travis/settings.xml -B -U; fi; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then if [ "$TRAVIS_BRANCH" != "master" ]; then ./mvnw clean verify jacoco:report coveralls:report -B -U; fi; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/f43a314391abdfd18193
on_success: change
on_failure: always
on_start: never
slack:
secure: QLkn41QlwTX2nyg00EDch9NwsmeTSM6mT9FnLE9T3yM/lNGkfjJbk4aIafyXZQwucNknWsXXP8KXI3xowFNhGIKA9RajqtkBS4+ZJ/pT4wqw6MAXszObYIukZnE3aDYl34CUhikZ+k1xkaP+3Dgg9TFiiLfV2sRlkNt+AhqZ4wbIeHpBHvT3RBrgE07mLuG8e+Tp0F29zAGzrvv9PStLi9l3dYj50sSPRHVru2pEc4GDd8Ltik0SpUDDaf9dabCDxaq2GpZeTRD0ZaWw1bEzqBDS5TFSIUWa15F5ppxOHffuZHKwgGveY4gJgQVgHqndxORMQwZREZ9fYuS+7NLUJAMEABRn3mc+e8ijuekz0LGYuzVU5VSUTUeujEjkv6s8MaRw81G9KpZbEEptQEOPlnsySKKQMmM6ZiJl2rh76a3dSqGlTtCKlD/LrFmP4DXZvMmKKsfW8836T2pJjpUDPKwnBTNgbNMJ7hJ+6D8+BR/On7F1JYUHgKJxQm4MQXVYJ8F0WFU7ga8kPt6SIi/LSu0aewuI+RnNWGBGotn+KH70desfpMWMCTpDoR5eHXbRQSQxzVXH4paQokCf/JyElTaDpUl2oyEqPGKmcDf9OTw1se1RW0GYlKNiM5evuZBTjlNTtds3Y9I8s/LBbhQPEDus7SkFbtg3ZM8OJD0FQyA=
on_success: change
on_failure: always
on_start: never