forked from GenFit/GenFit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (39 loc) · 874 Bytes
/
.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
sudo: required
language: cpp
services: docker
notifications:
email:
on_success: change
on_failure: always
env:
matrix:
- ROOT_VERSION=root_v6.10.00.Linux-ubuntu16-x86_64-gcc5.4.tar.gz
- ROOT_VERSION=root_v6.08.06.Linux-ubuntu16-x86_64-gcc5.4.tar.gz
compiler:
- gcc-5.4
- clang-3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
before_install:
# install cmake and gtest
- sudo apt-get install cmake libgtest-dev libglu1-mesa
- cd /usr/src/gtest
- sudo cmake CMakeLists.txt
- sudo make
- sudo cp *.a /usr/lib
- cd -
# install root
- wget https://root.cern.ch/download/${ROOT_VERSION}
- tar xzf ${ROOT_VERSION}
- source root/bin/thisroot.sh
install:
# create dedicated build folder
- cd .. && mkdir build && cd build
- cmake ../GenFit
- make
script:
- ctest --output-on-failure