forked from adrienverge/openfortivpn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 1.83 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
os:
- linux
language: c
sudo: false
cache:
directories:
- $HOME/.openfortivpn-deps
before_install:
- |
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
tests/ci/install_astyle.sh $HOME/.openfortivpn-deps
fi
- |
if [ "$TRAVIS_OS_NAME" != "osx" ]; then
tests/ci/install_openssl.sh $HOME/.openfortivpn-deps
fi
install:
- ./autogen.sh
- |
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:$PKG_CONFIG_PATH"
else
export PKG_CONFIG_PATH="$HOME/.openfortivpn-deps/lib/pkgconfig"
fi
- ./configure --prefix=/usr --sysconfdir=/etc
- make
script:
- |
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
./tests/lint/run.sh
fi
env:
global:
# COVERITY_SCAN_TOKEN
- secure: "HuYAk43itUiq0YJjmyvCyOM3mnRo8bFqSwksOmQ5fjvQscVWqZg6M9h8Abb+lKAc9L9avrwObjhu3EmOqoZ9Cjtp4WS4IdESK/UNe/jHpODFknsKefPgP67Z/yEFNVU1+5pS0+r+gTWQcZMyJrWrDde0lWpWHR/W7rTtqIbZH8Bp/T7oUN5q10x8PBcOZi/yVqNNicyuERIvUkobro5k+e4rY1N1HkptKs4wVY8M4WZUHwokNtuVfs0yoGQtrpi1KVRWq8sDkb8DNTeNv0MMEoQYUmNlEWxPaKJ9DBr65ajGLHzwUkWaNJGYw7mXwXoBwn5uKOyoytRA6Tj1wbVj4ggqqq6P6tbIcZ4YUW6N72gRaqvCnm6mRnbDHQtvzpqqxtr585mD11mh0DNmB15rvjNcZU/4wHHNQBsFcYEr+fN2/2ef/T3n0dymnnv2uZ05d11V5uSC6XYt3h0VxMDwarOVvOcWKYIQqzs4Bhigd2982v3OlIi5tbOSzHkbiCSP1msOKd6/XpCiCFpqed2UtSGZukisp3wQNfPnUOWoguOJ38nNe2o2G/l6HNOLd6u3sFlhzzthnJ6LPFD1CD9LPaOVYIVrRr90l0B2j1vPQM03eiiw7P6XvI6hPdqAM3VSEyjyrzUJRCUXAA8tovRwKTFlc506FWiFlGBFXFFI3zs="
addons:
homebrew:
packages:
coverity_scan:
project:
name: adrienverge/openfortivpn
description: Client for PPP+SSL VPN tunnel services
notification_email: [email protected]
build_command_prepend: ./configure --prefix=/usr --sysconfdir=/etc; make clean
build_command: make
branch_pattern: coverity_scan