forked from JeffersonLab/analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.disabled
98 lines (89 loc) · 2.78 KB
/
.travis.yml.disabled
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
language: cpp
matrix:
include:
- os: linux
dist: bionic
name: "Ubuntu Bionic 18.04 LTS"
compiler: gcc
- os: linux
dist: xenial
name: "Ubuntu Xenial 16.04 LTS"
compiler: gcc
- os: linux
dist: trusty
name: "Ubuntu Trusty 14.04 LTS"
compiler: gcc
- os: osx
name: "macOS 10.15 Xcode 11.6"
osx_image: xcode11.6
- os: osx
name: "macOS 10.14 Xcode 10.2"
osx_image: xcode10.2
- os: osx
name: "macOS 10.13 Xcode 10.1"
osx_image: xcode10.1
addons:
homebrew:
packages:
- scons
update: true
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update;
sudo apt-get install -y scons libtbb2;
if [[ "$TRAVIS_JOB_NAME" != "Ubuntu Trusty 14.04 LTS" ]]; then
sudo apt-get install -y patchelf;
fi;
fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Bionic 18.04 LTS" ]]; then
wget https://root.cern/download/root_v6.18.00.Linux-ubuntu18-x86_64-gcc7.4.tar.gz -O /tmp/root.tar.gz;
fi;
if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Xenial 16.04 LTS" ]]; then
wget https://root.cern.ch/download/root_v6.14.06.Linux-ubuntu16-x86_64-gcc5.4.tar.gz -O /tmp/root.tar.gz;
fi;
if [[ "$TRAVIS_JOB_NAME" == "Ubuntu Trusty 14.04 LTS" ]]; then
wget https://root.cern.ch/download/root_v6.12.06.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -O /tmp/root.tar.gz;
fi;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
if [[ "$TRAVIS_JOB_NAME" == "macOS 10.15 Xcode 11.6" ]]; then
wget https://root.cern.ch/download/root_v6.22.00.macosx64-10.15-clang110.tar.gz -O /tmp/root.tar.gz;
fi;
if [[ "$TRAVIS_JOB_NAME" == "macOS 10.14 Xcode 10.2" ]]; then
wget https://root.cern/download/root_v6.18.00.macosx64-10.14-clang100.tar.gz -O /tmp/root.tar.gz;
fi;
if [[ "$TRAVIS_JOB_NAME" == "macOS 10.13 Xcode 10.1" ]]; then
wget https://root.cern.ch/download/root_v6.14.06.macosx64-10.13-clang100.tar.gz -O /tmp/root.tar.gz;
fi;
fi
- tar -xzf /tmp/root.tar.gz
- source ./root/bin/thisroot.sh
- root-config --version
- cmake --version
- python --version
- python -c "import ssl; print(ssl.OPENSSL_VERSION)"
- scons --version
env:
global:
- MAKEFLAGS="-j2"
- SCONSFLAGS="-j2"
- ANALYZER="$(pwd)"
- LD_LIBRARY_PATH=$ANALYZER:$LD_LIBRARY_PATH
- DYLD_LIBRARY_PATH=$ANALYZER:$DYLD_LIBRARY_PATH
script:
- mkdir build && cd build && cmake .. && make && cd ..
- scons
after_success:
- $ANALYZER/build/apps/analyzer --version
- $ANALYZER/build/apps/analyzer -q
- $ANALYZER/apps/analyzer --version
- $ANALYZER/apps/analyzer -q
branches:
only: master
notifications:
email:
recipients: [email protected]
on_success: always
on_failure: always