-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
35 lines (35 loc) · 1.32 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
language: java
jdk:
- oraclejdk8
os:
- linux
#- osx # jdk section not supported on OS X
env:
global:
# VERSIONEYE_API_KEY (https://docs.travis-ci.com/user/encryption-keys/)
- secure: "PmoYZFRSXqRirNcOm+NSBzfgAntUtJ/1OiDz7nTJBOpZ1mS8Oay6wIO43J8DJ3fAhGQtNb8453jpecPpLnu+IpVGv4UOnAVgcxHodgl9WwggLWTCwxwWp+LhRXnxkWeIyOoIE2S44vR0w89PK+kjJMg/nUaKfVQ07Hz8uXgUOtU="
matrix:
# A build will finish as soon as a job has failed, rather than running the
# remaining jobs and accumulating failures.
fast_finish: true
before_install:
- npm install csslint
- git clone https://github.com/dylon/jslint-utils.git "$HOME/jslint-utils"
after_success:
- ./scripts/csslint --ignore=overqualified-elements,box-sizing src/checkstyle/css/checkstyle.css
- ./scripts/jslint src/checkstyle/js/checkstyle.js
- ./gradlew check
- ./gradlew jacocoTestReport
- ./gradlew coveralls
- ./gradlew versionEyeSecurityCheck
- ./gradlew versionEyeLicenseCheck
- ./gradlew versionEyeUpdate
after_failure:
- ./gradlew clean check --debug
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/6e8af9a9013992801610
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always