Skip to content

Commit

Permalink
Added CI settings
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Aug 15, 2017
1 parent c0bcdea commit 8a56944
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
stages:
- build-and-test

build_and_test_job:
stage: build-and-test
tags: [benchmarks, infinity]
script:
- ant test
#- ant eclipseformat # don't have eclipse on CI yet
- ant checkstyle
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: java
sudo: false
jdk:
- oraclejdk8
install:
- |
export ECLIPSE_TAR=eclipse.tar.gz
export ECLIPSE_URL=http://archive.eclipse.org/eclipse/downloads/drops4/R-4.6.3-201703010400/eclipse-SDK-4.6.3-linux-gtk-x86_64.tar.gz
wget ${ECLIPSE_URL} -O ${ECLIPSE_TAR}
tar -C ${TRAVIS_BUILD_DIR}/.. -xzf ${ECLIPSE_TAR}
export ECLIPSE_EXE=${TRAVIS_BUILD_DIR}/../eclipse/eclipse
script:
- ant test
- ant eclipseformat
- ant checkstyle

0 comments on commit 8a56944

Please sign in to comment.