Commit 323878d6 authored by Andreas Valder's avatar Andreas Valder
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:videoaginfra/website

parents f42626ec ae765a8b
unittest:
image: debian:stretch
stage: test
script:
- apt update
- apt install -y python3
- python3 -V
- uname -a
- apt install -y sqlite3 locales-all git python3-flask python3-ldap3 python3-requests python3-lxml python3-icalendar python3-mysql.connector python3-requests python3-coverage
- python3 -m coverage run tests.py
- python3 -m coverage report --include "./*"
- python3 -m coverage report -m --include "./*" > report.txt
- python3 -m coverage html --include "./*"
artifacts:
paths:
- htmlcov/*
- .coverage
- report.txt
livetest:
image: debian:stretch
stage: test
script:
- apt update
- apt install -y python3
- python3 -V
- uname -a
- apt install -y python3-requests
# - ./tests/urlcheck_sinf.py
deploy_staging:
image: archlinux/base
stage: deploy
script:
- pacman --noconfirm -Sy ansible git
\ No newline at end of file
......@@ -38,6 +38,7 @@ Notwendig:
* sqlite
* python-flask
* python-requests (wird vom L2P und vom Kalenderimport verwendet, kann nicht optional eingebunden werden)
* git (zum Anzeigen der aktuellen Version)
Optional (wird für einzelne Features benötigt):
* python-lxml (Campus Import)
......
#!/bin/env python3
#!/usr/bin/env python3
import requests
import sys
......
#!/bin/env python3
#!/usr/bin/env python3
import requests
import sys
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment