Use return codes instead of exit calls
[appimagekit/gsi.git] / .travis.yml
blobc4edf5b3c37939cdaddc1d6b15c611a7e046c87d
1 language: c
2 compiler: gcc
4 services:
5   - docker
7 env:
8   - ARCH=x86_64 DOCKER_IMAGE=quay.io/appimage/appimagebuild
9   - ARCH=i686 DOCKER_IMAGE=quay.io/appimage/appimagebuild-i386
11 script:
12   - bash travis/travis-build.sh
15 after_success:
16   - ls -lh out/*   # <= wrong line: see https://travis-ci.org/AppImage/AppImageKit/jobs/347965050#L4211
17   - ls -lh build/out/*
18   - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
19   - bash ./upload.sh build/out/*
21 notifications:
22   irc:
23     channels:
24       - "chat.freenode.net#AppImage"
25     on_success: always  # options: [always|never|change] default: always
26     on_failure: always  # options: [always|never|change] default: always
27     on_start: always     # options: [always|never|change] default: always
28     template:
29       - "%{repository} build %{build_number}: %{result} %{build_url}"
30     use_notice: true
31     # skip_join: true
32   webhooks:
33     urls:
34       - https://webhooks.gitter.im/e/4bf20518805a55998cc2
35     on_success: always  # options: [always|never|change] default: always
36     on_failure: always  # options: [always|never|change] default: always
37     on_start: always     # options: [always|never|change] default: always
39 branches:
40   only:
41     - appimagetool/master
42     - feature/usage