forked from mantl/mesos-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 801 Bytes
/
.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: go
env:
- PACKAGE=marathon-dynamic
- PACKAGE=mesos-agent
- PACKAGE=mesos-agent-dynamic
- PACKAGE=mesos-master
- PACKAGE=mesos-master-dynamic
# we can't build Mesos on Travis right now because their version of GCC
# (4.6.3) is less than the required version for building Mesos (4.6)
# - PACKAGE=mesos
# we don't build Marathon on the Travis infrastructure because it takes
# *forever*
# - PACKAGE=marathon
sudo: false
addons:
apt:
packages:
# hammer
- rpm
install:
# packages for packaging
- go get -v github.com/asteris-llc/hammer
- gem install fpm
script:
- hammer build --output=/tmp/out $PACKAGE
after_failure:
- tail logs/*
deploy:
provider: script
script: /bin/bash scripts/bintray.sh /tmp/out
on:
branch: master