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.
514 lines
15 KiB
514 lines
15 KiB
#
|
|
# General config
|
|
#
|
|
branches:
|
|
only:
|
|
- master
|
|
- stable
|
|
sudo: required
|
|
dist: trusty
|
|
language: cpp
|
|
|
|
git:
|
|
depth: false
|
|
|
|
# Enable caching
|
|
cache:
|
|
timeout: 1000
|
|
directories:
|
|
- build
|
|
- travis/mtime_cache
|
|
|
|
# Enable docker support
|
|
services:
|
|
- docker
|
|
|
|
notifications:
|
|
email:
|
|
on_failure: always
|
|
on_success: change
|
|
recipients:
|
|
- secure: "VWnsiQkt1xjgRo1hfNiNQqvLSr0fshFmLV7jJlUixhCr094mgD0U2bNKdUfebm28Byg9UyDYPbOFDC0sx7KydKiL1q7FKKXkyZH0k04wUu8XiNw+fYkDpmPnQs7G2n8oJ/GFJnr1Wp/1KI3qX5LX3xot4cJfx1I5iFC2O+p+ng6v/oSX+pewlMv4i7KL16ftHHHMo80N694v3g4B2NByn4GU2/bjVQcqlBp/TiVaUa5Nqu9DxZi/n9CJqGEaRHOblWyMO3EyTZsn45BNSWeQ3DtnMwZ73rlIr9CaEgCeuArc6RGghUAVqRI5ao+N5apekIaILwTgL6AJn+Lw/+NRPa8xclgd0rKqUQJMJCDZKjKz2lmIs3bxfELOizxJ3FJQ5R95FAxeAZ6rb/j40YqVVTw2IMBDnEE0J5ZmpUYNUtPti/Adf6GD9Fb2y8sLo0XDJzkI8OxYhfgjSy5KYmRj8O5MXcP2MAE8LQauNO3MaFnL9VMVOTZePJrPozQUgM021uyahf960+QNI06Uqlmg+PwWkSdllQlxHHplOgW7zClFhtSUpnJxcsUBzgg4kVg80gXUwAQkaDi7A9Wh2bs+TvMlmHzBwg+2SaAfWDgjeJIeOaipDkF1uSGzC+EHAiiKYMLd4Aahoi8SuelJUucoyJyLAq00WdUFQIh/izVhM4Y="
|
|
|
|
#
|
|
# Configurations
|
|
#
|
|
jobs:
|
|
include:
|
|
|
|
###
|
|
# Stage: Build Carl
|
|
###
|
|
|
|
# ubuntu-17.10 - DefaultDebugTravis
|
|
- stage: Build Carl
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build_carl.sh
|
|
after_success:
|
|
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
|
|
- docker commit carl movesrwth/carl:travis-debug;
|
|
- docker push movesrwth/carl:travis-debug;
|
|
# ubuntu-17.10 - DefaultReleaseTravis
|
|
- stage: Build Carl
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build_carl.sh
|
|
after_success:
|
|
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
|
|
- docker commit carl movesrwth/carl:travis;
|
|
- docker push movesrwth/carl:travis;
|
|
|
|
###
|
|
# Stage: Build (1st run)
|
|
###
|
|
|
|
# debian-9 - DefaultDebug
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9 - DefaultRelease
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-17.10 - DefaultDebugTravis
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-17.10 - DefaultReleaseTravis
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-18.04 - DefaultDebug
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-18.04 - DefaultRelease
|
|
- stage: Build (1st run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
|
|
install:
|
|
- rm -rf build
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build1
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|
|
###
|
|
# Stage: Build (2nd run)
|
|
###
|
|
|
|
# debian-9 - DefaultDebug
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9 - DefaultRelease
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-17.10 - DefaultDebugTravis
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-17.10 - DefaultReleaseTravis
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-18.04 - DefaultDebug
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=ubuntu-18.04 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-18.04 - DefaultRelease
|
|
- stage: Build (2nd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=ubuntu-18.04 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build2
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
|
|
###
|
|
# Stage: Build (3rd run)
|
|
###
|
|
|
|
# debian-9 - DefaultDebug
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebug LINUX=debian-9 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# debian-9 - DefaultRelease
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultRelease LINUX=debian-9 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-17.10 - DefaultDebugTravis
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log' -type f -print -exec cat {} \;
|
|
# ubuntu-17.10 - DefaultReleaseTravis
|
|
- stage: Build (3rd run)
|
|
os: linux
|
|
compiler: gcc
|
|
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
|
|
install:
|
|
- travis/install_linux.sh
|
|
script:
|
|
- travis/build.sh Build3
|
|
before_cache:
|
|
- docker cp storm:/opt/storm/. .
|
|
after_failure:
|
|
- find build -iname '*err*.log |