forked from AppImage/AppImageKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (32 loc) · 1.09 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
language: c
compiler: gcc
services:
- docker
env:
- DOCKER_IMAGE=toopher/centos-i386:centos6
- DOCKER_IMAGE=library/centos:6
script:
- docker run -i -v "${PWD}:/AppImageKit" "$DOCKER_IMAGE" /bin/bash -c "/AppImageKit/build.sh"
- file out/*
- sudo chown -R travis:travis out
- wget https://raw.githubusercontent.com/probonopd/AppImages/26541d6542b7bdcca9cbd1804590862c1a935e27/bintray.sh
- for i in out/*; do bash bintray.sh "$i"; done
before_deploy:
git fetch --tags
deploy:
provider: releases
api_key:
secure: Rtz7d+BKUnBT8D5FoE4XXCvVhRSQVdGK/c5VpI6IYuGhwmtx4RIvK78cICFPZq8k1xJm8yOuCOChX6EyElhUkYh5iPzDI/J7IiqBl+z+/V3aXx6W2PKyYLohZW3z9iomQbX2LQ6vHcZsNqQsjKZ2dW7Ja5Q9cZTFKiokMXsAERo=
skip_cleanup: true
file_glob: true
file: out/*
on:
tags: true
all_branches: true
notifications:
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