Skip to content

Commit

Permalink
Add Travis config and script
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed May 11, 2018
1 parent 829b45e commit 94ffc57
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sudo: false
language: java
jdk:
- oraclejdk8
script:
- test/run.sh
18 changes: 18 additions & 0 deletions test/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
cd $(dirname $0)

cd ..

./mvnw clean package
ret=$?
if [ $ret -ne 0 ]; then
exit $ret
fi
rm -rf target

./gradlew build
ret=$?
if [ $ret -ne 0 ]; then
exit $ret
fi
rm -rf build

0 comments on commit 94ffc57

Please sign in to comment.