-
Notifications
You must be signed in to change notification settings - Fork 20
/
travis.yml
61 lines (61 loc) · 2.93 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: cpp
compiler:
- gcc
python:
- '3.1'
sudo: false
addons:
apt:
packages:
- libgsl0-dev
- liblzma-dev
- graphviz
coverity_scan:
project:
name: "A2-Collaboration/ant"
description: "Just another analysis toolkit for A2"
notification_email: wagners@kph.uni-mainz.de
build_command_prepend: "mkdir build-coverity; cd build-coverity; cmake .."
build_command: make -j2
branch_pattern: coverity_scan
before_install:
- pip install --user codecov
- mkdir -p $HOME/opt
- cd $HOME/opt
# ugly fix for missing libgsl.so.0
- mkdir lib
- ln -s /usr/lib/x86_64-linux-gnu/libgsl.so lib/libgsl.so.0
- export LD_LIBRARY_PATH=$HOME/opt/lib:$LD_LIBRARY_PATH
# continue with regular pre-install setup
- export CURLCMD="curl -SLs --retry 10"
- source $TRAVIS_BUILD_DIR/ci/$SETUP_ENV
- source $TRAVIS_BUILD_DIR/ci/setup-doxygen.sh
- cd $TRAVIS_BUILD_DIR
script:
- test "${TRAVIS_BRANCH}" != "coverity_scan" || exit 0
- mkdir build && cd build
- cmake -DCTEST_PARALLEL_JOBS=2 -DAnt_COVERAGE=On ..
- make -j2
- make -j2 build_and_test
after_success:
- test "${TRAVIS_BRANCH}" != "coverity_scan" || exit 0
- test $COVERAGE = true || exit 0
- cd $TRAVIS_BUILD_DIR
- ./ci/upload-doxygen.sh
- bash <(curl -s https://codecov.io/bash) -x "gcov > /dev/null"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b8516b96f50c2fe47b6f
on_success: change
on_failure: always
on_start: never
env:
matrix:
- SETUP_ENV=setup_env_gcc4.9.2_root5.sh
- SETUP_ENV=setup_env_gcc8.2.0_root6.sh
global:
# github token
- secure: "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