-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
46 lines (41 loc) · 1.61 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
language: c
matrix:
include:
- os: linux
compiler: gcc
env: CFLAGS="-std=gnu99"
- os: linux
compiler: clang
env: CFLAGS="-std=gnu99"
# test that we can compile on old compilers.
- os: linux
compiler: clang
env: CFLAGS="-std=c89 -Wno-endif-labels -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_BSD_SOURCE -Wno-comment"
- os: osx
addons:
apt:
sources:
- george-edison55-precise-backports
packages:
- cmake
- cmake-data
before_script:
- cmake --version
script:
- mkdir cibuild
- cd cibuild
- cmake .. && make -j VERBOSE=1
- ./test/unittest/unabto_unittest
- mkdir -p bin
- cp apps/tunnel/unabto_tunnel bin/unabto_tunnel_${TRAVIS_OS_NAME}
deploy:
provider: releases
api_key:
secure: wDgmZWEIp9YqVIaE/RvDqG6CdENT9+omuUuavEf3ttHS8eOJSp4XUxvLZnNqLMS7mjA36uLFwAxlQ2/b7R4IIRf/v0L9zc24yUbuff2pZUxyfYHq9UVJtsm/KWEgBs8X+oinCVBevoGx1HyvNARf4Jt2jtFW2kOYyJGWugRhInWE7wRx/bTch5eMhw80E97ATQlcnb9dtnQa4I1mkYty0qwO3n+LQbyDMpEF6vHk4z/7vaCehIOofFAJJwDv5Trci3qzr/Z3kgfD6ZUXefa1ffh3LuxY8kAmkHea2Gp1G2rFr/Uotus1t89klrskMZHb7Y/ci2kWcU9S8o7NXInn7+hN5t/AYSeY/gPyYo9ZIePYOJLXoip3B2yvXJPD+b4ImOEot2faiqj2p6x9F4gIbaoXRKXsZeHV+MKVTD8W3E6IPFU/6wWr4V/VBeNtn2tgew51s84/Q/VaoJJqxSHisNZhY28rK3tQkX0fZXRH7HH3SQm8p5XMPL7sEr1X7FcGsi6jLCZYWB4ZDK3Ts32ULsyS5Fcnq77uPwHQVOwy/FY/W8Bj7N8qUQEDopdXU57R++uh6IqG23HIP7B/iAHEn2MGYhbh4k5Y1ZaGkRuhnv19nvp899WsLdYxA3JWVYhkhuCPJswMjyF0ddKUf7ZPVm6aehSN9AXipYvddlzY86I=
skip_cleanup: true
file:
- ${TRAVIS_BUILD_DIR}/cibuild/bin/unabto_tunnel_${TRAVIS_OS_NAME}
on:
repo: nabto/unabto
tags: true
all_branches: true