Skip to content

Commit

Permalink
Merge pull request #3 from jonaslandsgesell/tut5ipy
Browse files Browse the repository at this point in the history
Tut5ipy
  • Loading branch information
cameron-stewart committed Aug 1, 2018
2 parents 50d4cb2 + 6f7b832 commit 5578ca1
Show file tree
Hide file tree
Showing 1,119 changed files with 65,749 additions and 78,374 deletions.
23 changes: 21 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,31 @@ codecov:
branch: python
notify:
require_ci_to_pass: yes
ci:
- !travis-ci.org

coverage:
precision: 0
round: down
range: "70...100"

status:
project: yes
patch: yes
project:
default: false
tests:
paths:
- src/core/unit_tests/
enabled: yes
threshold: 1%
core:
paths:
- !src/core/unit_tests/
enabled: yes
threshold: 1%
patch:
default:
enabled: yes
threshold: 1%
changes: no

parsers:
Expand All @@ -26,3 +42,6 @@ comment:
layout: "reach, diff, flags, files, footer"
behavior: default
require_changes: no

ignore:
- "libs"
131 changes: 123 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,84 @@
image: espressomd/espresso-ubuntu-cuda:latest
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/ubuntu-cuda:latest

stages:
- permission
- prepare
- build
- doc_check
- additional_checks
- deploy
- result

variables:
GIT_SUBMODULE_STRATEGY: recursive

check_permission:
stage: permission
only:
- /.*external.*/
when: manual
allow_failure: false
script:
- exit 0

status_pending:
stage: prepare
script: bash maintainer/gh_post_status.sh pending

no_cuda_default:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/ubuntu:latest
script:
- export with_cuda=false
- export myconfig=default with_coverage=true
- bash maintainer/CI/build_cmake.sh

no_cuda_maxset:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/ubuntu:latest
script:
- export with_cuda=false
- export myconfig=maxset with_coverage=true
- bash maintainer/CI/build_cmake.sh

no_cuda_maxset_python3:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/ubuntu-python3:latest
script:
- export with_cuda=false
- export myconfig=maxset python_version=3
- bash maintainer/CI/build_cmake.sh

no_cuda_maxset_debian:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/debian:latest
script:
- export with_cuda=false
- export myconfig=maxset make_check=false
- bash maintainer/CI/build_cmake.sh

no_cuda_maxset_opensuse:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/opensuse:latest
script:
- export with_cuda=false
- export myconfig=maxset make_check=false
- bash maintainer/CI/build_cmake.sh

no_cuda_maxset_centos:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/centos:latest
script:
- export with_cuda=false
- export myconfig=maxset make_check=false
- bash maintainer/CI/build_cmake.sh

no_cuda_nocheckmaxset:
stage: build
script:
- export with_cuda=false
- export myconfig=nocheck-maxset make_check=false
- bash maintainer/CI/build_cmake.sh

shanchen:
stage: build
script:
Expand All @@ -25,24 +93,73 @@ maxset:
artifacts:
paths:
- build/
expire_in: 4 weeks

empty:
stage: build
script:
- export myconfig=empty
- bash maintainer/CI/build_cmake.sh

osx:
stage: build
script:
- export myconfig=maxset with_cuda=false
- bash maintainer/CI/build_cmake.sh
tags:
- mac

osx-python3:
stage: build
script:
- export myconfig=maxset with_cuda=false python_version=3
- bash maintainer/CI/build_cmake.sh
tags:
- mac

clang:
osx-cuda:
stage: build
image: espressomd/espresso-ubuntu-clang-cuda:latest
script:
- export myconfig=maxset with_cuda=true make_check=false
- bash maintainer/CI/build_cmake.sh
tags:
- mac

clang-static-analysis:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/ubuntu-clang-cuda:latest
script:
- export myconfig=maxset with_coverage=false with_static_analysis=true
- bash maintainer/cuda_build.sh

intel:
stage: build
image: gitlab.icp.uni-stuttgart.de:4567/espressomd/docker/ubuntu-intel:latest
script:
- export myconfig=maxset with_coverage=false
- bash maintainer/cuda_build.sh

check_sphinx:
stage: doc_check
stage: additional_checks
dependencies:
- maxset
when: on_success
script:
- cd ${CI_PROJECT_DIR}; cd build && find ./ -exec touch -c -t 203901010000 {} \; && make sphinx

check_with_odd_no_of_processors:
stage: additional_checks
when: on_success
dependencies:
- maxset
script:
- export build_procs=3 check_procs=3 check_odd_only=true
- bash maintainer/cuda_build.sh

deploy_documentation:
stage: deploy
only:
- doc
- python
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
Expand All @@ -61,10 +178,8 @@ status_success:
stage: result
script: bash maintainer/gh_post_status.sh success
when: on_success
dependencies: []

status_failure:
stage: result
script: bash maintainer/gh_post_status.sh failure
when: on_failure
dependencies: []
44 changes: 3 additions & 41 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,11 @@ matrix:
- os: linux
sudo: required
services: docker
env: myconfig=default with_coverage=true
env: myconfig=maxset python_version=2
- os: linux
sudo: required
services: docker
env: myconfig=maxset with_coverage=true
- os: linux
sudo: required
services: docker
env: myconfig=maxset image=ubuntu-python3
- os: linux
sudo: required
services: docker
env: myconfig=maxset image=debian make_check=false
- os: linux
sudo: required
services: docker
env: myconfig=maxset image=ubuntu-cuda make_check=false
- os: linux
sudo: required
services: docker
env: myconfig=maxset image=opensuse make_check=false
- os: linux
sudo: required
services: docker
env: myconfig=maxset image=centos make_check=false
- os: osx
osx_image: xcode8
env: myconfig=maxset
- os: osx
osx_image: xcode8
env: myconfig=maxset image=python3
- os: linux
sudo: required
services: docker
env: myconfig=rest1 with_coverage=true
- os: linux
sudo: required
services: docker
env: myconfig=rest2 with_coverage=true
- os: linux
sudo: required
services: docker
env: myconfig=nocheck-maxset make_check=false
env: myconfig=maxset image=ubuntu-python3 python_version=3

script:
- maintainer/travis/build_docker.sh
- maintainer/CI/build_docker.sh
Loading

0 comments on commit 5578ca1

Please sign in to comment.