forked from bmwcarit/capu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 1.27 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
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: "XIN1l/sSIdBPaJAgZ/+pm3yTSeTFH1Rc5Ncus2bQBlqxiAPp2U7u163EyRQxWfLOEFjtVlDfEQOsi4IWSo4l2ZedNgBocNb9wFoMupwe+h+jMi2q3WEQ204JSSWWkuxyqNT0JYm2zc1VsoyCXQSy8z8pWdAv3Vry49dfalXebag="
language: c++
compiler:
- gcc
script:
- cd $TRAVIS_BUILD_DIR/build
- make install
- cd $TRAVIS_BUILD_DIR/build/install
- find
- cp -r lib/* bin
- cd bin
- LD_LIBRARY_PATH=. ./Capu_Test
before_install:
- cd ..
- wget http://www.cmake.org/files/v2.8/cmake-2.8.10.tar.gz
- tar xf cmake-2.8.10.tar.gz
- cd cmake-2.8.10
install:
- sudo apt-get install libcurl3-dev
- ./bootstrap --system-curl
- make -j4
- sudo make install
addons:
coverity_scan:
project:
name: "veithm/capu"
description: "Collections and Platform Utils"
notification_email: [email protected]
build_command_prepend: "cd $TRAVIS_BUILD_DIR && mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain/Linux_X86_64.toolchain -DCMAKE_BUILD_TYPE:String=Release -DCapu_BUILD_TESTS:BOOL=1 -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/build/install ../"
build_command: "make -j4"
branch_pattern: master