forked from bramp/ffmpeg-cli-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (37 loc) · 905 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
38
39
40
41
42
43
44
45
46
47
48
dist: trusty
sudo: false
language: java
env:
- USER_LANGUAGE=en USER_COUNTRY=US
- USER_LANGUAGE=de USER_COUNTRY=DE
jdk:
- openjdk7
- openjdk8
- oraclejdk8
- oraclejdk9
os:
- linux
addons:
# apt:
# packages:
# - ffmpeg # Sadly this is libav's ffmpeg, which is not compatible
before_install:
- ./travis-install-ffmpeg.sh
- export FFMPEG=$PWD/ffmpeg-release-64bit-static/ffmpeg
- export FFPROBE=$PWD/ffmpeg-release-64bit-static/ffprobe
- export MAVEN_OPTS="$MAVEN_OPTS -Duser.language=$USER_LANGUAGE -Duser.country=$USER_COUNTRY"
before_script:
- echo $HOME
- echo $JAVA_OPTS
- echo $MAVEN_OPTS
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V
script:
- mvn test -Dgpg.skip=true -B -V
after_success:
- mvn clean cobertura:cobertura coveralls:report
cache:
apt: true
directories:
- $HOME/.m2
- $HOME/.dist