Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing output for ccx tests #183

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
233 changes: 2 additions & 231 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,240 +17,11 @@ jobs:
- name: "CalculiX adapter [PETSc] [Job failure permitted]"

include:
- stage: Building preCICE
name: "Arch Linux"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Arch
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Arch

- stage: Building preCICE
name: "Ubuntu 16.04 home"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.home

- stage: Building preCICE
name: "Ubuntu 16.04 home PETSc [Job failure permitted]"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.home --petsc yes
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.home --petsc yes

- stage: Building preCICE
name: "Ubuntu 16.04.sudo"
if: type = cron
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.sudo
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1604.sudo

- stage: Building preCICE
name: "Ubuntu 18.04.home"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.home

- stage: Building preCICE
name: "Ubuntu 18.04.sudo"
if: type = cron
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.sudo
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.sudo

- stage: Building preCICE
name: "Ubuntu 18.04.sudo.mpich [Job failure permitted]"
if: type = cron
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.sudo.mpich
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.sudo.mpich

- stage: Building preCICE
name: "Ubuntu 18.04.package"
if: fork = false
script:
- python build_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.package
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_precice.py --dockerfile precice/Dockerfile.Ubuntu1804.package

- name: "[Build preCICE on fork] Using cached version"
if: fork = true
script: true



- stage: Building adapters
name: SU2 adapter
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1604 --precice-installation home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.su2-adapter --operating-system ubuntu1604 --precice-installation home

- name: CalculiX adapter
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home

- name: deal.ii adapter
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1604 --precice-installation home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.dealii-adapter --operating-system ubuntu1604 --precice-installation home

- name: "[16.04] openFOAM adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1604 --precice-installation home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1604 --precice-installation home

- name: "[18.04] openFOAM adapter"
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1804 --precice-installation home

- name: FEniCS adapter
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.fenics-adapter --operating-system ubuntu1804 --precice-installation home
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.fenics-adapter --operating-system ubuntu1804 --precice-installation home

- name: openFOAM adapter [PETSc] [Job failure permitted]
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.openfoam-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes

- name: CalculiX adapter [PETSc] [Job failure permitted]
if: fork = false
script:
- python build_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes
deploy:
skip_cleanup: true
provider: script
on:
all_branches: true
script: >-
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin &&
python push_adapter.py --dockerfile adapters/Dockerfile.calculix-adapter --operating-system ubuntu1604 --precice-installation home --petsc yes

- name: "[Build adapters on fork] Using cached version"
if: fork = true
script: true



- stage: Tests
name: "[16.04] SU2 <-> Calculix"
script:
- python system_testing.py -s su2-ccx
- python push.py -t su2-ccx
- python push.py -t su2-ccx -o

- name: "[16.04] OpenFOAM <-> OpenFOAM"
script:
Expand All @@ -260,7 +31,7 @@ jobs:
- name: "[16.04] Calculix <-> OpenFOAM"
script:
- python system_testing.py -s of-ccx
- python push.py -t of-ccx
- python push.py -t of-ccx -o

- name: "[18.04] FEniCS <-> FEniCS"
script:
Expand Down