This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
94 lines (83 loc) · 2.35 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
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
sudo: enabled
dist: xenial
language: generic
branches:
only:
- master
git:
submodules: false
env:
global:
- E3_PATH=${TRAVIS_BUILD_DIR}/epics
- E3_SRC_PATH=${TRAVIS_BUILD_DIR}/e3
- BASE=7.0.3.1
- TAG=7.0.3.1
- REQUIRE=3.1.2
before_install:
- bash ${TRAVIS_BUILD_DIR}/.ci/prepare_e3.bash
install:
- pushd e3TemplateGenerator
- echo "EPICS_BASE:=${E3_PATH}/base-${BASE}" > RELEASE.local
- echo "E3_REQUIRE_VERSION:=${REQUIRE}" >> RELEASE.local
- answer=N | bash e3TemplateGenerator.bash -m modules_conf/siteApps-template-genesysGEN5kWPS.conf -y
- pushd e3-genesysGEN5kWPS
- cat configure/RELEASE
- scp ${TRAVIS_BUILD_DIR}/.ci/genesysGEN5kWPS.Makefile .
- make vars
- make init
- make build
- make install
- make existent LEVEL=4
- popd
- answer=N | bash e3TemplateGenerator.bash -m modules_conf/siteMods-template-localexample.conf
- pushd e3-example
- cat configure/RELEASE
- make vars
- make build
- make install
- make existent LEVEL=4
- popd
- answer=N | bash e3TemplateGenerator.bash -m modules_conf/siteMods-template-devlib2.conf
- pushd e3-devlib2
- cat configure/RELEASE
- scp ${TRAVIS_BUILD_DIR}/.ci/devlib2.Makefile .
- scp ${TRAVIS_BUILD_DIR}/.ci/CONFIG_MODULE configure/
- make vars
- make init
- make build
- make install
- make existent LEVEL=4
- popd
- sudo rm -rf *.local
- sudo rm -rf e3-*
- source ${E3_PATH}/base-${BASE}/require/${REQUIRE}/bin/setE3Env.bash
- answer=N | bash e3TemplateGenerator.bash -m modules_conf/siteApps-template-genesysGEN5kWPS.conf -y -r
- pushd e3-genesysGEN5kWPS
- cat configure/RELEASE
- scp ${TRAVIS_BUILD_DIR}/.ci/genesysGEN5kWPS.Makefile .
- make vars
- make init
- make build
- make install
- make existent LEVEL=4
- popd
- answer=N | bash e3TemplateGenerator.bash -m modules_conf/siteMods-template-localexample.conf -r
- pushd e3-example
- cat configure/RELEASE
- make vars
- make build
- make install
- make existent LEVEL=4
- popd
- answer=N | bash e3TemplateGenerator.bash -m modules_conf/siteMods-template-devlib2.conf -r
- pushd e3-devlib2
- cat configure/RELEASE
- scp ${TRAVIS_BUILD_DIR}/.ci/devlib2.Makefile .
- scp ${TRAVIS_BUILD_DIR}/.ci/CONFIG_MODULE configure/
- make vars
- make init
- make build
- make install
- make existent LEVEL=4
- popd
- popd