forked from aircrack-ng/aircrack-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 1.05 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
os:
- linux
- osx
language: c
sudo: true
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then (brew update && brew install cmocka openssl libgcrypt sqlite3 libpcap pcre || echo -e "\e[1;31m Skipping Homebrew... \e[0m"); fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then echo -e "\e[1;31m Skipping Code Coverage... \e[0m"; else pip install --user cpp-coveralls; 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
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