forked from troglobit/redir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (37 loc) · 1.77 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
# Travis CI integration -- https://travis-ci.org/troglobit/redir
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c
# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
sudo: false
# Test build with both GCC and Clang (LLVM)
compiler:
- gcc
- clang
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "i2bwQa4I+mluvfBk95snxKntMfEIwtXrDYUATcnCJ82vhFjl9pwiy0WSeZgNOj9n2z9p0J0yT7qyvI1z/yqQbZ1ZaeJ0R9SMOQvZZ+gEEHf3o2XdGII+BnsgByWNyu9TGkTp2gco81Annz1P48/sbMlHlcfnq/mHh+wbdm4SexD5uUGPoCIErRObFCGi6VQMbgYHCFTH4z0eVKAb8fabhv78za3/H5fNsljsXwSt63Jn+VhJTCkyts0etz5I7eXlxjAVe5hAXQJughCC0NBS4ZmmAzf2evc9DXjQk24Oq5k8XGYsKGIi9n4hmZGLTTjpC5eYwzrGOjEII0v7bxIWH2d7bIzlLl9LJoGEcM9XBDY7KRK3e/o5ozxo2mCao9lM3gffZUsuSMjIuOmNfpTUP4VvB2fgALPl5towA8QnWc97MueSimJcVZ+bRpKrja79Zke+5LQjnzzOMhOUAn5EZ1sVDaSUR9fS4Q8iaHs99AEaWrkYMpsQQbKAcV5BucPFfsMXGArEwo+nWSwPEgvGkHs4L/wiR+oDkbfjYKSz5g/PhVFh4nN6rEmsx4Q77Um+OLkR/MR9+KDP5JBiB09BkLS6jfJYzst3dJPbmNEDcMJXeQ/JGnt2ld8xbYBezNi0Ef/o06IeBzA1HVDVCTmFwaTBtENu6Pojr11OgeynX18="
addons:
apt:
packages:
- tree
coverity_scan:
project:
name: "troglobit/redir"
description: "A TCP port redirector for UNIX"
notification_email: troglobit@gmail.com
build_command_prepend: "./autogen.sh && ./configure --enable-compat"
build_command: "make"
branch_pattern: dev
# Custom build script for the time being, no "make test" yet
script:
- ./autogen.sh
- ./configure --prefix= --enable-compat
- make clean
- make -j5 V=1
- DESTDIR=/tmp/tok make install-strip
- tree /tmp/tok
- ldd /tmp/tok/bin/redir
- size /tmp/tok/bin/redir
- /tmp/tok/bin/redir -h