forked from AppImage/AppImageKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (56 loc) · 2.34 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
language: c
sudo: required
services:
- docker
matrix:
include:
- env: ARCH=x86_64 DOCKER_IMAGE=quay.io/appimage/appimagebuild
- env: ARCH=i686 DOCKER_IMAGE=quay.io/appimage/appimagebuild-i386
- env: ARCH=armhf DOCKER_IMAGE=quay.io/appimage/appimagebuild-armhf-cross
addons:
apt:
update: true
packages:
# install binfmt support system-wide (for use in Docker containers)
- binfmt-support
# sets up the required binfmt interpreters so that qemu will actually be used (for use in Docker containers)
- qemu-user-static
- env: ARCH=aarch64 DOCKER_IMAGE=quay.io/appimage/appimagebuild-aarch64-cross
addons:
apt:
update: true
packages:
# install binfmt support system-wide (for use in Docker containers)
- binfmt-support
# sets up the required binfmt interpreters so that qemu will actually be used (for use in Docker containers)
- qemu-user-static
script:
- bash travis/travis-build.sh
after_success:
- ls -lh out/* # <= wrong line: see https://travis-ci.org/AppImage/AppImageKit/jobs/347965050#L4211
- ls -lh build/out/*
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
# 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
- bash ./upload.sh build/out/*
notifications:
irc:
channels:
- "chat.freenode.net#AppImage"
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
template:
- "%{repository} build %{build_number}: %{result} %{build_url}"
use_notice: true
# skip_join: true
webhooks:
urls:
- https://webhooks.gitter.im/e/4bf20518805a55998cc2
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/