forked from adrien-matta/nptool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (44 loc) · 1.33 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
group: deprecated-2017Q2
sudo: required
dist: trusty
language: cpp
os:
- linux
compiler:
- gcc
before_install:
# Linux
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then cd && wget -q https://root.cern.ch/download/root_v6.14.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar -xf root_v6.14.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then source ~/root/bin/thisroot.sh; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then cd && wget -q https://www.dropbox.com/s/8hxjkd6twdsv5fi/geant4_install_new.tar.gz; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar -xf geant4_install_new.tar.gz; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then source ~/geant4_install/share/Geant4-10.1.2/geant4make/geant4make.sh; fi
# Dumping stuff for check
- root-config --version
# Install NPData needed to run examples suite
- cd $NPTOOL
- git clone https://github.com/adrien-matta/NPData
install:
script:
- cmake --version
- cd $NPTOOL/NPLib
- cmake -GNinja ./
- ninja install
- ./scripts/RootLogon.sh
- ./scripts/test/all.sh
after_success:
branches:
only:
- NPTool.2.dev
addons:
apt:
packages:
- ninja-build
- libafterimage0
#notifications:
# email:
# recipients:
# on_success: change
# on_failure: always