forked from aircrack-ng/aircrack-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
56 lines (49 loc) · 1.42 KB
/
Copy path.travis.yml
File metadata and controls
56 lines (49 loc) · 1.42 KB
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
os:
- linux
- osx
# need due bug on homebrew see:
# https://changelog.travis-ci.com/xcode-11-3-1-xcode-11-2-1-xcode-11-1-and-xcode11-images-updated-142286
osx_image: xcode11.4
language: c
before_install:
# ccache hacks. see: https://github.com/travis-ci/travis-ci/issues/5383
#Install ccache on osx
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
#Fix ccache for clang
- if [ "$CC" = "clang" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CFLAGS="-Qunused-arguments"; else CFLAGS=""; fi
addons:
apt:
packages:
- libnl-3-dev
- libgcrypt11-dev
- zlib1g-dev
- libsqlite3-dev
- libpcap-dev
- libssl-dev
- libnl-genl-3-dev
- libpcre3-dev
- lcov
- libcmocka0
- libcmocka-dev
- libhwloc-dev
- clang-format-3.8
homebrew:
packages:
- ccache
- cmocka
- libpcap
- libgcrypt
- openssl
- pcre
- sqlite3
#update: true
compiler:
- gcc
- clang
script: |
./build/travis-format.sh Style "Checking source code style..." ./build/travis-formatting.sh &&
./build/travis-format.sh GCrypt "Building with GCrypt..." ./build/gcrypt.sh &&
./build/travis-format.sh OpenSSL "Building with OpenSSL..." ./build/openssl.sh &&
./build/travis-format.sh Dist "Creating a dist tarball and then building from it..." ./build/dist_check.sh &&
exit 0
cache: ccache