forked from Mellanox/rdma-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (66 loc) · 2.68 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
64
65
66
67
68
69
language: c
# We don't support any distro earlier than trusty
sudo: required
dist: trusty
addons:
# We run our builds sequentially in one VM rather than try and use the
# matrix feature. This is because Travis is unreasonably inefficient
# doing this APT setup pass.
apt:
sources:
- ubuntu-toolchain-r-test
# Multiverse is not on by default and we need it to get sparse
- sourceline: "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse"
packages:
- build-essential
- debhelper
- dh-systemd
- fakeroot
- gcc
- gcc-7
- git
- libnl-3-dev
- libnl-route-3-dev
- libudev-dev
- make
- ninja-build
- pandoc
- pkg-config
- python
- valgrind
- sparse
- wget
- abi-compliance-checker
- abi-dumper
# 32 bit support packages
- gcc-multilib
- lib32gcc-7-dev
service:
- docker
before_script:
- export LATEST_GCC_LINARO_URL=`wget -qO - https://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/ | grep -o '<a href=['"'"'"].*gcc-linaro-.*x86_64_aarch64-linux-gnu.tar.xz['"'"'"]' | sed -e 's/^<a href=["'"'"']//' -e 's/["'"'"']$//'`
- export LATEST_GCC_LINARO_TAR=`basename $LATEST_GCC_LINARO_URL`
- wget -q http://releases.linaro.org/$LATEST_GCC_LINARO_URL
- mkdir $HOME/aarch64 && tar xf $LATEST_GCC_LINARO_TAR -C $HOME/aarch64 --strip 1
- rm $LATEST_GCC_LINARO_TAR
script:
- buildlib/travis-build
- buildlib/travis-checkpatch
- buildlib/package-build-test
- buildlib/github-release
deploy:
# Deploy assets to Github releases
# https://docs.travis-ci.com/user/deployment/releases/
provider: releases
api_key:
# This is encrypted OAth token generated by
# Travis CLI tool (travis setup releases) limited to specific repo.
secure: ok/WMzFgsSnk+NZ850QEUESHRfJ4Ae7T8eA4dcx4fuw2RqybAh8wjxrLP5GKR27WrzB3hKHHTi7fgE0VtBY024kGJ/+wlQXHN1p89JvCiQlGOKkxy5YIlS4GUhwwkqgoU+hmifxl1i+9yCuowHPIM4WoP+NR+IZgvMahlrdPCS2OleFtrqyaHZbC/Usdt0WZLeQzG+rVLec/NvPnVOn81e17yuAuluHAzu+qcV94szqe/zwDzG8RUUKXaeDEQ3JQja4bCLL/kTkWR8JGsfwvcqc9Ut4Ry2b7uEWp5/FIcxUGWviKRgRzEdcT40iMMiJbIrH7gYp66Ymr/dypqUfc4u/xSb4AmpTMcYGUXJxsdzKyL6d/7HbuHIIVc5o1V/L5mdaIjeO5KjTFjMMD5KoSXfBlNIGk2as1JD/99lxJ3VlpQGwI5390+Tyl8o4Ao4aBXSCG96PDK4+UkYFht/wrw+UoYdV07u3x7zz21O3N3Lu5733hDvcvyOW6uIzoeLQ5O62/3Pq+DOFRs/nnRiW8/gjIkEQAyj/GGxw/taslpFJFcdVt/MSueV4t5OCI2YdGA/NxG/c4FIGy+dntV5BB6Gld8KkP/PP74yzJ1o/PRDRExTbsQzrdisDrVIf0r4pxTTsw1gXRE5r6S0tQ5aNoXAQ5h4xiwAIGqqBF4HESJjA=
file: rdma-core-*.tar.gz
# Allow asterisks in file names.
file_glob: true
skip_cleanup: true
# Limit scope of deploy to specific repo.
on:
repo: linux-rdma/rdma-core
tags: true