forked from hadess/gnome-thumbnailer-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 738 Bytes
/
.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
language: cpp
compiler: gcc
sudo: required
matrix:
include:
- dist: trusty
- dist: xenial
addons:
apt:
packages:
- wget
- cmake
- rpm
# libappimage deps
- desktop-file-utils
- libfuse-dev
before_install:
- sudo apt-get update
- sudo apt-get install -y libglib2.0-dev libgdk-pixbuf2.0-dev
script:
- cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr
- make -j`nproc`
- cpack -V -G DEB
- cpack -V -G RPM
deploy:
provider: releases
api_key: "$GITHUB_TOKEN"
file_glob: true
file:
- "./*.deb"
- "./*.rpm"
skip_cleanup: true
prerelease: true
overwrite: true
on:
repo: azubieta/appimage-gnome-thumbnailer
branch: master
tags: true
notifications:
email: false