forked from t-oster/VisiCut
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (26 loc) · 756 Bytes
/
.travis.yml
File metadata and controls
30 lines (26 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: minimal
os: linux
dist: xenial
services:
- docker
script:
- "./test.sh"
- mkdir /tmp/out
- chmod ugo+rwx /tmp/out
- docker run -v /tmp/out:/app/output registry.gitlab.com/t-oster/visicutbuildservice
- echo "Created out files:"
- ls /tmp/out
- ls /tmp/out/*
- echo "Triggering build on download.visicut.org"
- wget --no-check-certificate "https://vctrigger.thomas-oster.de/" -O-
deploy:
provider: releases
file: "/tmp/out/branch-master/**/*"
api_key:
secure: "TMAImpk182KQFEWmOnqsr/HZyH2OrDTFvh/XAxs+yWJLODcZn5ZUUnTF84mveeGkmv+GsxSIELpCZzKK6fDraVZF/lGzVxPdTMkBFfJiPNj1OaLhJuzDt3yNoolCeH54nxFqE3UdiAHuN+5RQ3mzLC1HEqZdc0kk0/Ji5vKBQ80="
skip_cleanup: true
on:
tags: true
cache:
directories:
- $HOME/.m2