forked from wpilibsuite/shuffleboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (29 loc) · 843 Bytes
/
.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
sudo: required
services:
- docker
language: java
matrix:
fast_finish: true
include:
- os: linux
jdk: oraclejdk8
# - os: osx
# osx_image: xcode8
env:
global:
- GRADLE_CACHES="/home/travis/.gradle/"
- DOCKER_GRADLE_CACHES="/root/.gradle/"
before_install:
- docker build -f Dockerfile -t shuffleboard-devel .
install: echo "skip 'gradle assemble' step"
script:
# Get the code coverage environment variables to pass to docker
# https://github.com/codecov/support/wiki/Testing-with-Docker
- ci_env=`bash <(curl -s https://codecov.io/env)`
- docker run -it $ci_env -v ${GRADLE_CACHES}:${DOCKER_GRADLE_CACHES} shuffleboard-devel ./.travis.ubuntu.sh
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/