-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
74 lines (74 loc) · 2.09 KB
/
.travis.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
dist: bionic
jobs:
include:
- stage: build
script: ./build-scripts/build_component.sh opencv http://tf.ikl.sh/opsi_armhf/ travis $TFG_PASSWORD DOCKER
cache:
directories:
- cache
- stage: build
script: ./build-scripts/build_component.sh python_packages http://tf.ikl.sh/opsi_armhf/ travis $TFG_PASSWORD
addons:
apt:
update: true
packages:
- python3-pip
- python3-all
- python3-all-dev
- libsystemd-dev
- python-all
- python3-setuptools
- build-essential
- debhelper
- fakeroot
- qemu-user-static
before_install:
- pip3 install --user stdeb
- stage: build
script: ./build-scripts/build_component.sh opensight_deb http://tf.ikl.sh/opsi_armhf/ travis $TFG_PASSWORD
addons:
apt:
update: true
packages:
- dpkg-dev
- debhelper
- dh-systemd
- fakeroot
- stage: build
script: ./build-scripts/build_component.sh misc http://tf.ikl.sh/opsi_armhf/ travis $TFG_PASSWORD
addons:
apt:
update: true
packages:
- curl
- stage: build
script: ./build-scripts/build_component.sh opensight_server_deb http://tf.ikl.sh/opsi_armhf/ travis $TFG_PASSWORD
addons:
apt:
update: true
packages:
- dpkg-dev
- debhelper
- dh-systemd
- fakeroot
- stage: deploy
script: ./build-scripts/create_assets.sh --travis
deploy:
provider: releases
api_key: $GITHUB_KEY
file: "build/opsi-packages-*.tar.gz"
file_glob: true
skip_cleanup: true
body: "You can view the full changelog for this release at https://github.com/opensight-cv/opensight/releases/$TRAVIS_TAG"
on:
repo: opensight-cv/packages
tags: true
stages:
- build
- deploy
branches:
only:
- travis-dev
# tag regex
- /^v\d+\.\d+\.\d+.*$/
language: minimal