Skip to content
Snippets Groups Projects
Commit 0aec59c4 authored by Benedikt's avatar Benedikt
Browse files

changed deploy stange to master only

parent a0c5889a
Branches
No related tags found
No related merge requests found
...@@ -12,7 +12,12 @@ variables: ...@@ -12,7 +12,12 @@ variables:
- export HTTPS_PROXY="http://webproxy.bs.ptb.de:8080" - export HTTPS_PROXY="http://webproxy.bs.ptb.de:8080"
- export NO_PROXY="*.ptb.de" - export NO_PROXY="*.ptb.de"
- echo 'Acquire::http::Proxy "http://webproxy.bs.ptb.de:8080";' | tee /etc/apt/apt.conf.d/99proxy - echo 'Acquire::http::Proxy "http://webproxy.bs.ptb.de:8080";' | tee /etc/apt/apt.conf.d/99proxy
- apt-get update && apt-get install -y mono-devel
- echo 'PWD:'
- pwd
- ls -la ./
script: script:
- pip install pytest pytest-cov
- pip install . - pip install .
- pytest --cov --cov-report term-missing --cov-report xml:coverage.xml --cov-report html:cov_html - pytest --cov --cov-report term-missing --cov-report xml:coverage.xml --cov-report html:cov_html
- ls -la ./ - ls -la ./
...@@ -56,4 +61,8 @@ commit_and_push_coverage: ...@@ -56,4 +61,8 @@ commit_and_push_coverage:
- git checkout -b coverage-report || git checkout coverage-report - git checkout -b coverage-report || git checkout coverage-report
- rm -rf * # Clear the branch (handle with care!) - rm -rf * # Clear the branch (handle with care!)
- cp -r cov_html/* . - cp -r cov_html/* .
- git add .
- git commit -m "Update coverage report" || echo "No changes to commit"
- git push --set-upstream origin coverage-report
only:
- master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment