-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
38 lines (32 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
36
37
38
language: cpp
os:
- linux
- osx
compiler:
- gcc
#branches:
# only:
# - master
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install freeimage ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update ;fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libfreeimage-dev ;fi
script:
- make
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: "TM0wWPKq1QoV5IsY+LLVvA6T04EOhduyO8d+7k+qkLb+PRG9Pjs01bzwsiQQs2Bk08KsnZkSdgAzMTv+EETH+1ptHjW0QGBHO1EfYUw9ZkLaJl+HRiTkVozUAfltTlrOeUgsWNX4e59Id8iMB00htOSmBim4CgcaFaSfmRGCto0="
#addons:
# coverity_scan:
# project:
# name: "nohal/imgkap"
# description: "Build submitted via Travis CI"
# notification_email: pavel@kalian.cz
# build_command_prepend: "mkdir -p build; cd build; cmake .."
# build_command: "make -j 4"
# branch_pattern: coverity_scan
# build_script_url: "https://raw.githubusercontent.com/nohal/objsearch_pi/master/scan_script.sh"