-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (47 loc) · 2.07 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
sudo: false
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: "c/Cxgz0pg7xrp5aG1qXtK+uWDvljMGB9ucq4nIhuINd8zS4kT2s6VvtdzLnpDb9zgxESqOJm8aqThOYUbEbdAqJZxEHzBPOpqbXjhatDrIDiZz+cbe9CTPBRtq55qNc9RTxICM5f556YKSrrvCDURl9vqkd7pXPjBUuog+51nssUX3eQ0+ROQ/Urp4/mEIMl8ZQm2S34ahQhhvxsSEWU2IFu/W+VmE5AboHyydE3cj7xDZVgLTzuWIXs6S+ncJ9e1RNyptzCJ/ZDPpH+jgi4Qw6CCqQmM2jb89fqmOneA/RXyF0pTTxL49M2onrSK/tCE///+m2vGSbZL/X3iTP4fvP5tRLK26Ihv3vU0WgHS7xPMM/GBI1dlsjDBk++busmBrYoOpCKkg7H3IEtdCdgFbbnhEhCOqNsThVgg1A+9bDTg55vM5R1BIDs/q79SjoQSfjIQE3dst+POYusspBnUmkjHBMvclVcEo1mmZjhvS9PCSCqqehC6w27qVmEdylbjVUMX9hYKqeR9b9LCIIlStMYMn9mN+5LNmmeTKm5I4We5xWIBRD6pLGq3hBg7GkI7OwrxmMwS/sAHZLPcmejADXDahLIFWYnXz5gKI4wZAC6ze+6o2qP1hRZM/0+Ej/i9ZLaEEPk0cXAX/KCJfFMw1Hr3tBvSkoYdzKr5t4i3O4="
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- gcc-4.8
- g++-4.8
- libc6-dev-i386
- libboost-regex1.55-dev
- libboost-filesystem1.55-dev
- libboost-program-options1.55-dev
coverity_scan:
project:
name: "plexoos/travex"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "mkdir build-coverity/; cd build-coverity/; cmake ../"
build_command: "make -j4"
branch_pattern: coverity_scan
branch:
only:
- master
# Make sure cmake picks up the compiler we want
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
before_script:
# Install desired version of ROOT
- wget http://root.cern.ch/download/root_v6.05.02.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -P /tmp/
- tar -xzf /tmp/root_v6.05.02.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
- source ./root/bin/thisroot.sh
- root-config --libs
- root-config --cflags
script:
- mkdir build/ && cd build/ && pwd
- cmake -D CMAKE_INSTALL_PREFIX=./ -D CMAKE_BUILD_TYPE=Release ../
- make -j4 && make install && make clean
- pwd && ls -la ./ && ls -la lib/