forked from QuTech-Delft/qtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (38 loc) · 1.47 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
cache: pip
matrix:
include:
- name: Full installation 3.10
python: 3.10.1
sudo: true
dist: focal
env: FULL_INSTALL=1
services:
- xvfb
install:
- sudo apt-get install libhdf5-dev
- pip install coveralls
- pip install --upgrade pip pytest
- pip install -e .
- export QT_QPA_PLATFORM=offscreen
script:
- pip freeze
- pytest --version
- xvfb-run -a coverage run --source="./src/qtt" -m pytest
- mypy src --ignore-missing-imports
- if [[ "$FULL_INSTALL" == "1" ]]; then
jupyter --version;
bash docs/notebooks/select_notebooks_to_execute.sh;
fi
- python docs/notebooks/qtt_example.py
after_success:
- coveralls
deploy:
provider: pypi
user: qutech.sdst
password:
secure: RwTnD4RBnErHXF8umOlLmePlXSwbRlF7F6Mw7OVgvFVCu7cs8AJORYclCDjcVhCxqTNTPiSp3PnTpHJrC32EV6zyI2D9aFB+CjDHYgsbWO45lknP7X3QLr+cbWd2ApgZk3h8WOn+LyXtH8+YLl46ujAApES2K04Tp3DPqFDkdlzDjhSp3FyvQ1RYx84YlROSxAsUrvWiGfVc1BoF7lSqknvxomHmGUrQlatSpmoJ0JvMuz+8o6zHLOWyXQDSiHkAg+kkRYuJY+eJBQRdpKwa5ZH0O00WKSuwEMQl3d+wQJL5GTiqbBBhYWmakARX6OQToMbKKxUZ+VZsv2N6CwuhmSgGYmzl9b6UK2o5kiPDcFqfqmwiSOJFH7Eg4D8xAZCJyrbeeKzGzddq+STBgAEK59zAq7Vx3Lqsqv81vQlbIatBIZxQtvkwxsqnaGib0Xvu7p3TDjkXX4kZVOdEDx1+mwJgkIVAcTJSq/ILjIQIP3cOYWDTzVS4VFm6OrWuiXNllyzzfKNTjhoJnwea4QHqkqLTwUYMxr6qighXSiP6mBB1uyNMoKXBypD7pHMyZvrlWjxoV5UnGCGl0v8oGURzzUXqPIaNtcFnIgGCaabtkE+gyPyVVnOQyjJYW5aVEFDKIyARPhu8IrMLBefdnWKpQTJW7wXCDiRvTqa03AgE6Rg=
on:
tags: true
branch: master
skip_existing: true