Install: - make - @travis: strawberryperl the pre-installed perl does not have cpan and misses essentials like ExtUtils::Command - packages from CHOCO env
81 lines
1.6 KiB
YAML
81 lines
1.6 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:
|
|
|
|
- env: SET=test01
|
|
|
|
- env: SET=test01
|
|
os: windows
|
|
|
|
- env: SET=test01
|
|
compiler: vs2017
|
|
os: windows
|
|
|
|
# Run unit tests on Linux and Mac
|
|
|
|
# - env: SET=test00
|
|
|
|
# - env: SET=test00
|
|
# os: osx
|