-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
45 lines (34 loc) · 991 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
41
42
43
sudo: enabled
language: generic
branches:
only:
- master
git:
submodules: true
env:
global:
- EPICS_PATH=${HOME}/epics_env
- EPICS_BASE=${EPICS_PATH}/epics-base
- EPICS_MODULES=${EPICS_PATH}/epics-modules
- MAKEFLAGS="-j 2"
matrix:
include:
- os: linux
dist: xenial
- os: linux
dist: bionic
before_install:
- sudo apt update
- bash .ci/setup_packages.bash
- bash .ci/ethercat.bash
- bash .ci/setup_repo.bash
- bash .ci/setup_epics_base.bash
install:
# - source $EPICS_PATH/setEpicsEnv.bash
- echo "ASYN=${EPICS_MODULES}/asyn" > ${TRAVIS_BUILD_DIR}/configure/RELEASE.local
- echo "EPICS_BASE=${EPICS_BASE}" >> ${TRAVIS_BUILD_DIR}/configure/RELEASE.local
- echo "ASYN=${EPICS_MODULES}/asyn" > ${TRAVIS_BUILD_DIR}/ecmcExampleTop/configure/RELEASE.local
- echo "EPICS_BASE=${EPICS_BASE}" >> ${TRAVIS_BUILD_DIR}/ecmcExampleTop/configure/RELEASE.local
- make
after_success:
- tree ${TRAVIS_BUILD_DIR}