This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
51 lines (37 loc) · 1.74 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
sudo: enabled
dist: xenial
language: generic
branches:
only:
- master
git:
submodules: false
env:
global:
- E3_PATH=${TRAVIS_BUILD_DIR}/epics
- MOD_G0=ctp
- MOD_G1=ife
- MOD_G2=a
matrix:
- SESSION=1 BASE=7.0.3.1 TAG=7.0.3.1 REQUIRE=3.1.2 MOD_GA=o
before_install:
- sudo apt-get -qq update > /dev/null 2>&1
- sudo apt-get install -y linux-headers-$(uname -r) > /dev/null 2>&1
- sudo apt-get install -y build-essential realpath ipmitool libtool automake tclx tree screen re2c darcs > /dev/null 2>&1
- sudo apt-get install -y libreadline-dev libxt-dev x11proto-print-dev libxmu-headers libxmu-dev libxpm-dev libxmuu-dev libxmuu1 libpcre++-dev python-dev libnetcdf-dev libhdf5-dev libpng-dev libbz2-dev libxml2-dev libusb-dev libusb-1.0-0-dev libudev-dev libsnmp-dev libraw1394-dev libboost-dev libboost-regex-dev libboost-filesystem-dev libopencv-dev > /dev/null 2>&1
- sudo apt-get install -y libtirpc-dev libblosc-dev libtiff-dev > /dev/null 2>&1
- bash .ci/before_install_conf.bash > /dev/null 2>&1
- bash e3_building_config.bash -y -t "${E3_PATH}" -b "${BASE}" -r "${REQUIRE}" -c "${TAG}" setup
install:
- bash e3.bash -${MOD_G0}${MOD_G1}${MOD_G2}${MOD_GA} call > /dev/null 2>&1
- bash e3.bash gbase > /dev/null 2>&1
- bash e3.bash ibase > /dev/null 2>&1
- bash e3.bash bbase
- bash e3.bash req
- bash e3.bash -${MOD_G0} mod
- bash e3.bash -${MOD_G1}o mod
- bash e3.bash -${MOD_G2}${MOD_GA}o mod
after_success:
- bash e3.bash -${MOD_G0}${MOD_G1}${MOD_G2}${MOD_GA} cmd
- source ${E3_PATH}/base-${BASE}/require/${REQUIRE}/bin/setE3Env.bash
- bash .ci/screen.bash ${SESSION} .cmd