Skip to content

Commit 3364ef3

Browse files
committed
Integrate Visicutbuildservice into Travis
1 parent 5988659 commit 3364ef3

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

.travis.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
11
language: java
2+
os: linux
3+
dist: xenial
4+
25
jdk:
36
- openjdk11
4-
7+
services:
8+
- docker
59
before_install:
610
- pushd LibLaserCut && mvn install && popd
711
# make sure we install legacy deps
812
- mvn initialize
9-
1013
script:
1114
- "./test.sh"
12-
- "mvn test"
15+
- if [ "$TRAVIS_TAG" = "" ]; then mvn test; fi
16+
- OUT=`pwd`/out
17+
- mkdir $OUT
18+
- chmod ugo+rwx $OUT
19+
- if [ "$TRAVIS_TAG" != "" ]; then docker run -v $OUT:/app/output registry.gitlab.com/t-oster/visicutbuildservice; fi
20+
- echo "Artifacts:"
21+
- ls $OUT/branch-master/**/*
1322

23+
deploy:
24+
provider: releases
25+
file_glob: true
26+
file: out/branch-master/**/*
27+
token: $GITHUB_TOKEN
28+
skip_cleanup: true
29+
cleanup: false
30+
on:
31+
tags: true

0 commit comments

Comments
 (0)