forked from TheAssassin/AppImageLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.35 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
language: cpp
notifications:
email: false
services:
- docker
matrix:
include:
- env: DIST=bionic ARCH=x86_64
name: Native packages for Ubuntu bionic, Debian testing and newer, x86_64
- env: DIST=bionic ARCH=i386
name: Native packages for Ubuntu bionic, Debian testing and newer, i386
- env: DIST=xenial ARCH=x86_64
name: Native packages for Ubuntu xenial, Debian stable etc., x86_64
- env: DIST=xenial ARCH=i386
name: Native packages for Ubuntu xenial, Debian stable etc., i386
- env: DIST=bionic ARCH=x86_64 BUILD_LITE=1
name: AppImageLauncher Lite AppImage x86_64
- env: DIST=bionic ARCH=i386 BUILD_LITE=1
name: AppImageLauncher Lite AppImage i386
script:
- bash -ex travis/travis-docker.sh "$DIST"
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- if [ "$TRAVIS_BRANCH" != "master" ] && [ "$TRAVIS_TAG" == "" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
- |2
if [[ "$BUILD_LITE" != "" ]]; then
bash upload.sh appimagelauncher-lite-*.AppImage*
elif [[ "$DIST" == "xenial" ]]; then
bash upload.sh appimagelauncher*.{deb,rpm}* appimagelauncher*.tar*
else
bash upload.sh appimagelauncher*.deb*
fi
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/