Merge pull request #1057 from Mailaender/system-mksquashfs
[appimagekit.git] / .travis.yml
blobf59d0763eade62ed1a93a33665d072ebbd37ba0d
1 language: c
2 sudo: required
4 services:
5   - docker
7 matrix:
8   include:
9     - env: ARCH=x86_64 DOCKER_IMAGE=quay.io/appimage/appimagebuild
10     - env: ARCH=i686 DOCKER_IMAGE=quay.io/appimage/appimagebuild-i386
11     - env: ARCH=armhf DOCKER_IMAGE=quay.io/appimage/appimagebuild-armhf-cross
12       addons:
13         apt:
14           update: true
15           packages:
16             # install binfmt support system-wide (for use in Docker containers)
17             - binfmt-support
18             # sets up the required binfmt interpreters so that qemu will actually be used (for use in Docker containers)
19             - qemu-user-static
20     - env: ARCH=aarch64 DOCKER_IMAGE=quay.io/appimage/appimagebuild-aarch64-cross
21       addons:
22         apt:
23           update: true
24           packages:
25             # install binfmt support system-wide (for use in Docker containers)
26             - binfmt-support
27             # sets up the required binfmt interpreters so that qemu will actually be used (for use in Docker containers)
28             - qemu-user-static
30 script:
31   - bash travis/travis-build.sh
34 after_success:
35   - ls -lh out/*   # <= wrong line: see https://travis-ci.org/AppImage/AppImageKit/jobs/347965050#L4211
36   - ls -lh build/out/*
37   - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
38   # make sure only pushes to rewrite create a new release, otherwise pretend PR and upload to transfer.sh
39   - if [ "$TRAVIS_BRANCH" != "$TRAVIS_TAG" ] && [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi
40   - bash ./upload.sh build/out/*
42 notifications:
43   irc:
44     channels:
45       - "chat.freenode.net#AppImage"
46     on_success: always  # options: [always|never|change] default: always
47     on_failure: always  # options: [always|never|change] default: always
48     on_start: always    # options: [always|never|change] default: always
49     template:
50       - "%{repository} build %{build_number}: %{result} %{build_url}"
51     use_notice: true
52     # skip_join: true
53   webhooks:
54     urls:
55       - https://webhooks.gitter.im/e/4bf20518805a55998cc2
56     on_success: always  # options: [always|never|change] default: always
57     on_failure: always  # options: [always|never|change] default: always
58     on_start: always     # options: [always|never|change] default: always
60 branches:
61   except:
62   - # Do not build tags that we create when we upload to GitHub Releases
63   - /^(?i:continuous)$/