forked from bramp/ffmpeg-cli-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (31 loc) · 808 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
sudo: false
language: java
env:
- USER_LANGUAGE=en USER_COUNTRY=US
- USER_LANGUAGE=de USER_COUNTRY=DE
jdk:
- openjdk7
- oraclejdk8
- oraclejdk7
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
- echo "MAVEN_OPTS='-Duser.language=$USER_LANGUAGE -Duser.country=$USER_COUNTRY'" > ~/.mavenrc
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