-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
32 lines (32 loc) · 1014 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
language: java
dist: xenial
jdk:
- openjdk11
install: true
cache:
directories:
- $HOME/.m2/repository
env:
global:
- MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
- MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true"
- SELENIUM_DRIVER: "chrome"
- SELENIUM_DRIVER_ARGS: "--headless window-size=1280,1024 --no-sandbox"
addons:
apt:
packages:
- google-chrome-stable
- ffmpeg
script:
- mkdir ${HOME}/tmp
- export TMPDIR="${HOME}/tmp"
- mvn -B clean install
after_success:
- mvn com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=${CODACY_PROJECT_TOKEN} -DapiToken=${CODACY_API_TOKEN}
deploy:
provider: releases
skip_cleanup: true
api_key: ${GH_TOKEN}
file: "target/myvidcore.jar"
on:
tags: true