We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5988659 commit 3364ef3Copy full SHA for 3364ef3
.travis.yml
@@ -1,13 +1,31 @@
1
language: java
2
+os: linux
3
+dist: xenial
4
+
5
jdk:
6
- openjdk11
-
7
+services:
8
+ - docker
9
before_install:
10
- pushd LibLaserCut && mvn install && popd
11
# make sure we install legacy deps
12
- mvn initialize
13
script:
14
- "./test.sh"
- - "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/**/*
22
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