You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
415 lines
11 KiB
415 lines
11 KiB
# This file was inspired from https://github.com/google/fruit
|
|
|
|
#
|
|
# General config
|
|
#
|
|
branches:
|
|
only:
|
|
- master
|
|
dist: trusty
|
|
language: cpp
|
|
|
|
# Enable caching
|
|
cache:
|
|
timeout: 1000
|
|
directories:
|
|
- build
|
|
- travis/mtime_cache
|
|
|
|
# Enable docker support
|
|
services:
|
|
- docker
|
|
sudo: required
|
|
|
|
#
|
|
# Configurations
|
|
#
|
|
jobs:
|
|
include:
|
|
|
|
###
|
|
# Stage: Build (1st run)
|
|
###
|
|
|
|
# osx
|
|
- stage: Build (1st run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultDebug COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (1st run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultRelease COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-16.10
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|
|
###
|
|
# Stage: Build (2nd run)
|
|
###
|
|
|
|
# osx
|
|
- stage: Build (2nd run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultDebug COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (2nd run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultRelease COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-16.10
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|
|
###
|
|
# Stage: Build (3rd run)
|
|
###
|
|
|
|
# osx
|
|
- stage: Build (3rd run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultDebug COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (3rd run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultRelease COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-16.10
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|
|
###
|
|
# Stage: Build (4th run)
|
|
###
|
|
|
|
# osx
|
|
- stage: Build (4th run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultDebug COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build4
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (4th run)
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultRelease COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh Build4
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-16.10
|
|
- stage: Build (4th run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build4
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (4th run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build4
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9
|
|
- stage: Build (4th run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build4
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Build (4th run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build4
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|
|
###
|
|
# Stage: Test all
|
|
###
|
|
|
|
# osx
|
|
- stage: Test all
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultDebug COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh TestAll
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Test all
|
|
os: osx
|
|
compiler: clang
|
|
env: CONFIG=DefaultRelease COMPILER=clang-4.0 STL=libc++
|
|
install:
|
|
- travis/install_osx.sh
|
|
script:
|
|
- travis/build.sh TestAll
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-16.10
|
|
- stage: Test all
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh TestAll
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Test all
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-16.10 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh TestAll
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9
|
|
- stage: Test all
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh TestAll
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
- stage: Test all
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc-6
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh TestAll
|
|
before_cache:
|
|
- docker cp storm:/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|