-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·48 lines (45 loc) · 1.21 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
language: java
# Make NetworkTables happy
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- junit4
- lynx
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/
before_install:
- chmod +x gradlew
install: echo "skip 'gradle assemble' step"
script:
- gradle build -i --continue
# For CodeCov
after_success:
- ./gradlew test jacocoTestReport
- bash <(curl -s https://codecov.io/bash)
after_failure:
# For Outputting reports
# FindBugs
- if [ -f /home/travis/build/RoboEagles4828/ACE/build/reports/findbugs/main.html ]; then lynx -dump /home/travis/build/RoboEagles4828/ACE/build/reports/findbugs/main.html; fi
# PMD
- if [ -f /home/travis/build/RoboEagles4828/ACE/build/reports/pmd/main.html ]; then lynx -dump /home/travis/build/RoboEagles4828/ACE/build/reports/pmd/main.html; fi
jdk:
- oraclejdk8
notifications:
email: false
slack: 4828roboeagles:qjpsMMedvSTKBq3KCmDmdAjB
cards:
enabled:
- master
- development
title: Toast
env:
global:
- CODECOV_TOKEN=:078e0034-6bc8-45fd-be49-92ed5afc30f7