mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
added Travis configuration (#194)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
parent
b8266fac97
commit
d869ada34b
17
.travis.yml
Normal file
17
.travis.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user