-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (28 loc) · 1.15 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
dist: trusty
compiler: gcc
services:
- docker
notifications:
email: false
addons:
apt:
packages:
- wget
matrix:
include:
- env: DOCKER_IMAGE=conanio/gcc48 BUILD_SCRIPT=dist/docker_build_appimage.sh
name: "AppImage package build"
- env: DOCKER_IMAGE=archlinux/base BUILD_SCRIPT=dist/docker_build_arch.sh
name: "arch package build"
- env: DOCKER_IMAGE=debian:stable BUILD_SCRIPT=dist/docker_build_deb.sh PKG_VERSION_POSTFIX=debian-stable
name: "debian stable package build"
- env: DOCKER_IMAGE=ubuntu:bionic BUILD_SCRIPT=dist/docker_build_deb.sh PKG_VERSION_POSTFIX=ubuntu-bionic
name: "ubuntu bionic package build"
script:
- docker run -v $PWD:/sources -w /sources -e PKG_VERSION_POSTFIX="$PKG_VERSION_POSTFIX" "$DOCKER_IMAGE" "$BUILD_SCRIPT"
after_success:
- ls -lh
# make sure only pushes to rewrite create a new release, otherwise pretend PR and upload to transfer.sh
- if [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ] && [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh appimage-firstrun*