Skip to content

Commit

Permalink
Integrate Visicutbuildservice into Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
t-oster committed May 14, 2020
1 parent 5988659 commit 3364ef3
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
language: java
os: linux
dist: xenial

jdk:
- openjdk11

services:
- docker
before_install:
- pushd LibLaserCut && mvn install && popd
# make sure we install legacy deps
- mvn initialize

script:
- "./test.sh"
- "mvn test"
- if [ "$TRAVIS_TAG" = "" ]; then mvn test; fi
- OUT=`pwd`/out
- mkdir $OUT
- chmod ugo+rwx $OUT
- if [ "$TRAVIS_TAG" != "" ]; then docker run -v $OUT:/app/output registry.gitlab.com/t-oster/visicutbuildservice; fi
- echo "Artifacts:"
- ls $OUT/branch-master/**/*

deploy:
provider: releases
file_glob: true
file: out/branch-master/**/*
token: $GITHUB_TOKEN
skip_cleanup: true
cleanup: false
on:
tags: true

0 comments on commit 3364ef3

Please sign in to comment.