forked from openwall/john
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (38 loc) · 1.31 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
language: c
dist: trusty
branches:
except:
gh-pages
compiler:
- gcc
- clang
env:
# Default build. Release.
# Debug build
env:
global:
# The next declration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "FJ1/E5vVttd4+cFLQVdFt4rHNX28aGIvAWXduy6ZqQgZbfa0omsHcZXAq0t1qFz14ryTxEtxqY/aXw6OSG+t6a8OyrOi9jEdTIUpEDCyPvdZ299injPt1SiJRxzoDNo1CquwUE20y2pFOnTpVp6bIkH49o0oAxBijtb5fDj54KY="
matrix:
allow_failures:
before_install:
- sudo apt-get update -qq
- sudo apt-get install libssl-dev yasm libgmp-dev libpcap-dev pkg-config debhelper libnet1-dev
- sudo apt-get install fglrx-dev opencl-headers || true
- export OMP_NUM_THREADS=4
script:
- cd src
- if [[ "$CC" == "gcc" ]]; then ./configure --enable-asan; fi
- if [[ "$CC" == "clang" ]]; then ./configure; fi
- make -sj4
- ../.travis/test.sh
addons:
coverity_scan:
project:
name: "magnumripper/JohnTheRipper"
description: "http://openwall.com/john"
notification_email: john.magnum@hushmail.com
build_command_prepend:
build_command: "cd src && ./configure && make -sj4 && echo -e '[Disabled:Formats]\nRaw-SHA512-free-opencl = Y\nXSHA512-free-opencl = Y' > john-local.conf && ../run/john -test-full=0"
branch_pattern: coverity_scan