added Travis configuration (#194)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2017-08-16 12:09:51 +02:00 committed by GitHub
parent b8266fac97
commit d869ada34b

17
.travis.yml Normal file
View File

@ -0,0 +1,17 @@
sudo: required
dist: trusty
language: java
jdk: oraclejdk8
before_install: echo "MAVEN_OPTS='-Xms1g -Xmx2g -XX:PermSize=512m -XX:MaxPermSize=1g'" > ~/.mavenrc
install:
- echo 'mvn clean install -B -V 1> .build.stdout 2> .build.stderr' > .build.sh
- chmod 0755 .build.sh
script:
- travis_wait 60 ./.build.sh
after_success:
- tail -n 200 .build.stdout
after_failure:
- tail -n 300 .build.stderr
- tail -n 2000 .build.stdout