This repository has been archived by the owner on Feb 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
54 lines (43 loc) · 3.84 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
language: java
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- '$HOME/.gradle/caches'
- '$HOME/.gradle/wrapper'
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
- '$HOME/.sonar/installs'
jdk:
- oraclejdk8
services:
- docker
addons:
apt:
packages:
- oracle-java8-installer
before_install:
- npm install -g bower
- bower install -p
after_success:
- docker build -t mcpringle/sportchef .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push mcpringle/sportchef
- docker logout
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/eee27732e50d40f73bf2
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
env:
global:
- secure: wasWW/zaDmglU89QBhHZkHjVO6TCqbD8hLCO5F9ypo4o7OJWBphjymDDpxNiag0QArpMQWHRqIRuF3pUXBwgbphaP3nD8n/gOHNqlU09aGOsb7BQI6p5iUeC9cF180tBqedloXQ2wmVN4zQMBKsrQfZmhwzdzp//npCENLLw9Lm5GaUJh5zSrLYKsjZED67FOW/Gyc8qQjINB0bLzRyLFufWntXAy7AM0bDEVsXUMjMg7lKsCyvhxjrt8ik4Y5vFclvtoGUF5RvPiy2/CSWF6S+4lYrinC9eHt1sikNg9Wb/sSI8qJgVlLNUOJ19TQjlJM58cg8ebHTnlYebZ8O7+qPFNDp0uZDOyb1sma5vJ5gm1zbzWnmgzJCw67bR+wSIWbe5kOYV72YXOJJoB1VFsyuXRlrJFM/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+bBgAM0jRn5pwUpul89th+0rj6qICA0QfvkgCvTzfqtF21pZOZstufJOv69cI5NkRhM9eeY01sLSdr2fLVqGfTm9UPp86cphPF+7ySlqqRMTIAGlXpkpx6bYYAeAUl8K7m7S7zQ24uEpgCwjUPhOvsUUYSVbOtPxJlgI+0zsQHxuZ+oB8FVzOg20o= # sonarqube
script:
- ./gradlew --stacktrace --debug check jacocoTestReport # sonarqube -Dsonar.login=$SONAR_TOKEN