Browse Source

Travis: Use Ubuntu 18.04 after support for 17.10 ended

tempestpy_adaptions
Matthias Volk 6 years ago
parent
commit
f638142ad9
  1. 58
      .travis.yml
  2. 4
      travis/generate_travis.py

58
.travis.yml

@ -40,11 +40,11 @@ jobs:
# Stage: Build Carl # Stage: Build Carl
### ###
# ubuntu-17.10 - DefaultDebugTravis
# ubuntu-18.04 - DefaultDebugTravis
- stage: Build Carl - stage: Build Carl
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -53,11 +53,11 @@ jobs:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
- docker commit carl movesrwth/carl:travis-debug; - docker commit carl movesrwth/carl:travis-debug;
- docker push movesrwth/carl:travis-debug; - docker push movesrwth/carl:travis-debug;
# ubuntu-17.10 - DefaultReleaseTravis
# ubuntu-18.04 - DefaultReleaseTravis
- stage: Build Carl - stage: Build Carl
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -99,11 +99,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultDebugTravis
# ubuntu-18.04 - DefaultDebugTravis
- stage: Build (1st run) - stage: Build (1st run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- rm -rf build - rm -rf build
- travis/install_linux.sh - travis/install_linux.sh
@ -113,11 +113,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultReleaseTravis
# ubuntu-18.04 - DefaultReleaseTravis
- stage: Build (1st run) - stage: Build (1st run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- rm -rf build - rm -rf build
- travis/install_linux.sh - travis/install_linux.sh
@ -186,11 +186,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultDebugTravis
# ubuntu-18.04 - DefaultDebugTravis
- stage: Build (2nd run) - stage: Build (2nd run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -199,11 +199,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultReleaseTravis
# ubuntu-18.04 - DefaultReleaseTravis
- stage: Build (2nd run) - stage: Build (2nd run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -269,11 +269,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultDebugTravis
# ubuntu-18.04 - DefaultDebugTravis
- stage: Build (3rd run) - stage: Build (3rd run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -282,11 +282,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultReleaseTravis
# ubuntu-18.04 - DefaultReleaseTravis
- stage: Build (3rd run) - stage: Build (3rd run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -352,11 +352,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultDebugTravis
# ubuntu-18.04 - DefaultDebugTravis
- stage: Build (4th run) - stage: Build (4th run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -365,11 +365,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultReleaseTravis
# ubuntu-18.04 - DefaultReleaseTravis
- stage: Build (4th run) - stage: Build (4th run)
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -435,11 +435,11 @@ jobs:
- docker cp storm:/opt/storm/. . - docker cp storm:/opt/storm/. .
after_failure: after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \; - find build -iname '*err*.log' -type f -print -exec cat {} \;
# ubuntu-17.10 - DefaultDebugTravis
# ubuntu-18.04 - DefaultDebugTravis
- stage: Test all - stage: Test all
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultDebugTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -452,11 +452,11 @@ jobs:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; - docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
- docker commit storm movesrwth/storm:travis-debug; - docker commit storm movesrwth/storm:travis-debug;
- docker push movesrwth/storm:travis-debug; - docker push movesrwth/storm:travis-debug;
# ubuntu-17.10 - DefaultReleaseTravis
# ubuntu-18.04 - DefaultReleaseTravis
- stage: Test all - stage: Test all
os: linux os: linux
compiler: gcc compiler: gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
install: install:
- travis/install_linux.sh - travis/install_linux.sh
script: script:
@ -498,17 +498,17 @@ jobs:
allow_failures: allow_failures:
- stage: Build (1st run) - stage: Build (1st run)
os: linux os: linux
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
- stage: Build (2nd run) - stage: Build (2nd run)
os: linux os: linux
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
- stage: Build (3rd run) - stage: Build (3rd run)
os: linux os: linux
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
- stage: Build (4th run) - stage: Build (4th run)
os: linux os: linux
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc
- stage: Test all - stage: Test all
os: linux os: linux
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-17.10 COMPILER=gcc
env: CONFIG=DefaultReleaseTravis LINUX=ubuntu-18.04 COMPILER=gcc

4
travis/generate_travis.py

@ -5,8 +5,8 @@ configs_linux = [
# OS, compiler, build type # OS, compiler, build type
("debian-9", "gcc", "DefaultDebug"), ("debian-9", "gcc", "DefaultDebug"),
("debian-9", "gcc", "DefaultRelease"), ("debian-9", "gcc", "DefaultRelease"),
("ubuntu-17.10", "gcc", "DefaultDebugTravis"),
("ubuntu-17.10", "gcc", "DefaultReleaseTravis"),
("ubuntu-18.04", "gcc", "DefaultDebugTravis"),
("ubuntu-18.04", "gcc", "DefaultReleaseTravis"),
("ubuntu-18.04", "gcc", "DefaultDebug"), ("ubuntu-18.04", "gcc", "DefaultDebug"),
("ubuntu-18.04", "gcc", "DefaultRelease"), ("ubuntu-18.04", "gcc", "DefaultRelease"),
] ]

Loading…
Cancel
Save