-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
53 lines (45 loc) · 1.69 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
language: cpp
compiler:
- gcc
env:
global:
- ROOT_VERSION=6.06.00
matrix:
- PROJECT="Factories"
- PROJECT="common"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kalakris-cmake
- boost-latest
packages:
- gcc-4.9
- g++-4.9
- git
- make
- cmake
- uuid-dev
- libboost1.55-dev
- libboost-filesystem1.55-dev
- libboost-system1.55-dev
install:
- wget http://sbrochet.web.cern.ch/sbrochet/public/ROOT-${ROOT_VERSION}_Python-2.7_Ubuntu-12.04_gcc4.9.tar.xz
- mkdir root
- cd root
- tar xf ../ROOT-${ROOT_VERSION}_Python-2.7_Ubuntu-12.04_gcc4.9.tar.xz
- source bin/thisroot.sh
- cd ..
before_script:
- export CXX=g++-4.9
- export CC=gcc-4.9
- export BUILD_DIR="${PROJECT}/build"
- if [[ $PROJECT != "common" ]]; then mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR} && cmake ..; else cd common/tests; fi
script:
- make
- if [[ $PROJECT == "common" ]]; then ./tests.exe; fi
os:
- linux
notifications:
webhooks:
secure: "zIaFto0lH3WUnflycnpBWmgylM8dYYp777/g0dk4oWx5ZYhKjKWB0sjnocVW9x7pd6VMq6Dl+j2xDb/bGYIms4r9X0iHm1U/awv+A+pemdZxBTSBWELLdLqOuE8WTPffnc02yIkkkVgnpAPczalz55IPUuVDF2iHc+EaDxrgkIMIrYvDr9at+2PKHeND5u4URw/HCEu94H4SXI6Y5s76kTwYua2KfYyTBjUidEm5J0G+YBWM83J9x7axlKegNbeQIlmn/k9wt6NgIyFJj/AJEbkaaMlvbkqrQv4EabzSAnonJUXEx4RL7xnSTQv1u2X7203YIElOqtuWvB5F3gKM4MJ42qO2u+epwkNg1odUkrZ4FfGgsEJ3nn6yusrjEV71LAt88jZeK0skcUE9qK9WHuRoUKo6z/xnkW8rPDFCEU+rHrq/r/6yyUOMkAyQhk4iVMAxvMJm1n0Kz+QsnSBQT0FIKXVlhesAvD1sGKL+c+Qm0yvdtWLAKwLB8Encq3EtizaCioJ7m+GTsFBbHAv2An+QO1yOf60B3ej5EeNWw5ND4WjXOGnAWf7af3au8SeB6g+w3x43z/0AW/ggE++JQ5y3bHyY0L3F6sbbgR8Dy/KYBBPgG1sbO2+aGkWB9LUc7/xjiBBnVuRolGduWF3L3tf3hdV2s3k0Wmley+5FTtU="