Files
ci-scripts/.travis.yml
2020-06-06 14:55:06 +02:00

119 lines
2.3 KiB
YAML

# .travis.yml 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
- VV=1
- CHOCO=re2c
addons:
apt:
packages:
- libreadline6-dev
- libncurses5-dev
- perl
- clang
- g++-mingw-w64-i686
- g++-mingw-w64-x86-64
- qemu-system-x86
homebrew:
packages:
- re2c
update: true
install:
- python cue.py prepare
script:
- python cue.py build
# 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
# SET source setup file
# 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)
# VV set to make build scripts verbose (default: unset)
# Usually from setup files, but may be specified or overridden
# on a job line
# MODULES list of dependency modules
# BASE branch or release tag name of the EPICS Base to use
# <MODULE> branch or release tag for a specific module
# ... see README for setup file syntax description
jobs:
include:
# Run unit tests
- env: SET=test00
install: python cue-test.py env
script: python cue-test.py
- env: SET=test00
os: osx
install: python cue-test.py env
script: python cue-test.py
- env: SET=test00
os: windows
install: python cue-test.py env
script: python cue-test.py
# Compile example
- env: SET=test01
- env: SET=test01 BCFG=static
- env: SET=test01 BCFG=debug
- env: SET=test01 BCFG=static-debug
- env: SET=test01
os: windows
- env: SET=test01 BCFG=static
os: windows
- env: SET=test01 BCFG=debug
os: windows
- env: SET=test01 BCFG=static-debug
os: windows
- env: SET=test01
compiler: vs2017
os: windows
- env: SET=test01 BCFG=static
compiler: vs2017
os: windows
- env: SET=test01 BCFG=debug
compiler: vs2017
os: windows
- env: SET=test01 BCFG=static-debug
compiler: vs2017
os: windows