-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (31 loc) · 1.17 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
language: cpp
compiler:
- gcc
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: "Y2AIphxa/9WbmVGPpRD+MoxboIICxmOwXAA/oPk9xHbjcT8I9koFXP9jdPqRhR0sKjrR2T3CPfujsUbtXv3BjVj2vu8hgGIldfHUtFCr34iYXStmPtcklSkudboOMWMyKIUzUuKFG4XY1SOyNpll/n9GzSueGGBFh0sPTKrSLbE="
addons:
coverity_scan:
project:
name: "HeadhunterXamd/cppAssignments"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "mkdir build && cd build && cmake -G \"Unix Makefiles\" ~/HeadhunterXamd/cppAssignments/TafelOefening"
build_command: "make -j4"
branch_pattern: coverity_scan
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then mkdir build && cd build && cmake -G "Unix Makefiles" ../TafelOefening/ && make -j4 ; fi
#before_deploy:
#"travis setup releases"
#before_deploy: git fetch --tags
#deploy:
# provider: releases
# api-key: "${githubToken}"
# file:
# - "TafelOefening.*"
# release-number: ${BUILDTAG}
# skip_cleanup: true
# on:
# tags: true
# all_branches: true