travis: add dummy test
This commit is contained in:
55
.travis.yml
Normal file
55
.travis.yml
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
# .travis.xml for testing EPICS Base ci-scripts
|
||||||
|
# (see: https://github.com/epics-base/ci-scripts)
|
||||||
|
|
||||||
|
# Note:
|
||||||
|
# Paths to scripts are different in this test configuration
|
||||||
|
# (your module has one more directory level: .ci)
|
||||||
|
|
||||||
|
language: cpp
|
||||||
|
compiler: gcc
|
||||||
|
dist: xenial
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- SETUP_PATH=.:.ci
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libreadline6-dev
|
||||||
|
- libncurses5-dev
|
||||||
|
- perl
|
||||||
|
- clang
|
||||||
|
- g++-mingw-w64-i686
|
||||||
|
- qemu-system-x86
|
||||||
|
|
||||||
|
install:
|
||||||
|
- ./travis/prepare.sh
|
||||||
|
|
||||||
|
script:
|
||||||
|
- ./travis-test.sh
|
||||||
|
|
||||||
|
# If you need to do more during install and build,
|
||||||
|
# add a local directory to your module and do e.g.
|
||||||
|
# - ./.ci-local/travis/install-extras.sh
|
||||||
|
|
||||||
|
# Define build jobs
|
||||||
|
|
||||||
|
# Well-known variables to use
|
||||||
|
# BASE branch or release tag name of the EPICS Base to use
|
||||||
|
# EXTRA content will be added to make command line
|
||||||
|
# STATIC set to YES for static build (default: NO)
|
||||||
|
# TEST set to NO to skip running the tests (default: YES)
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
|
||||||
|
# Different configurations of default gcc and clang
|
||||||
|
|
||||||
|
- env: BASE=3.15
|
||||||
|
|
||||||
|
- env: SET=test01
|
||||||
5
test01.set
Normal file
5
test01.set
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
MODULES="sncseq asyn"
|
||||||
|
|
||||||
|
BASE=R3.15.6
|
||||||
|
ASYN=master
|
||||||
|
SNCSEQ=R2-2-7
|
||||||
4
travis-test.sh
Executable file
4
travis-test.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e -x
|
||||||
|
|
||||||
|
echo Testing the dependency setup
|
||||||
@@ -74,7 +74,11 @@ git clone --quiet --depth 5 $BASE_RECURSIVE --branch "$BASE" $BASE_REPO epics-ba
|
|||||||
mkdir -s "$SOURCEDIR"
|
mkdir -s "$SOURCEDIR"
|
||||||
cd "$SOURCEDIR"
|
cd "$SOURCEDIR"
|
||||||
|
|
||||||
for modrepo in ${MODULES}
|
|
||||||
|
# Check out dependencies
|
||||||
|
# ----------------------
|
||||||
|
|
||||||
|
for mod in BASE $MODULES
|
||||||
do
|
do
|
||||||
module=${modrepo%CPP}
|
module=${modrepo%CPP}
|
||||||
module_uc=$(echo $module | tr 'a-z' 'A-Z')
|
module_uc=$(echo $module | tr 'a-z' 'A-Z')
|
||||||
|
|||||||
Reference in New Issue
Block a user