This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
forked from flameshot-org/flameshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
98 lines (88 loc) · 2.63 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
dist: xenial
sudo: required
language: cpp
branches:
only:
- master
cache:
directories:
- $HOME/.cache
env:
global:
# Environment variables for packaging
- PRODUCT=flameshot
- VERSION=0.6.0
- RELEASE=1
- ARCH=x86_64
# Dockerfile from https://github.com/flameshotapp/flameshot-docker-images
- DOCKER_REPO=vitzy/flameshot
# Option: wetransfer.com, file.io, 0x0.st, transfer.sh
- UPLOAD_SERVICE=wetransfer.com
# The actual list of distribution is available on
# https://hub.docker.com/r/vitzy/flameshot/tags/
matrix:
include:
- os: linux
# 28
env: OS=fedora DIST=28 EXTEN=rpm
services: docker
- os: linux
# 29
env: OS=fedora DIST=29 EXTEN=rpm
services: docker
- os: linux
# 30
env: OS=fedora DIST=30 EXTEN=rpm
services: docker
- os: linux
# 16.04 LTS
env: OS=ubuntu DIST=xenial EXTEN=deb
services: docker
- os: linux
# 18.04 LTS
env: OS=ubuntu DIST=bionic EXTEN=deb
services: docker
- os: linux
# 19.04
env: OS=ubuntu DIST=disco EXTEN=deb
services: docker
- os: linux
# 8
env: OS=debian DIST=jessie EXTEN=deb
services: docker
- os: linux
# 9
env: OS=debian DIST=stretch EXTEN=deb
services: docker
- os: linux
# No docker environment, just for CI build & test
# ubuntu xenial; default Qt version is 5.6.1
env: OS=ubuntu DIST=xenial EXTEN=other
# - os: osx
# compiler: clang
# osx_image: xcode9.2
before_install:
- export ROOT_PATH="$(pwd)"
- chmod +x .travis/*.sh
- chmod +x .travis/services/*.sh
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then source .travis/linux_before_install.sh; fi
install:
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then source .travis/linux_install.sh; fi
script:
# - git submodule update --init --recursive
# - git describe --long
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then source .travis/linux_script.sh; fi
# - if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then source .travis/osx_script.sh; fi
after_success:
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then source .travis/linux_after_success.sh; fi
- echo "Download URL is $TEMP_DOWNLOAD_URL ."
# deploy:
# # Deploy packages to Github Release
# provider: releases
# api_key: "GITHUB ENCYPTED OAUTH TOKEN"
# file_glob: true
# file: dist/*.{deb,rpm,AppImage,dmg}
# skip_cleanup: true
# on:
# tags: true
# branch: master