~ni/nxt-python

ref: 1bb72dd1981480b403286bad922f789de7190379 nxt-python/.builds/debian.yml -rw-r--r-- 631 bytes
1bb72dd1Nicolas Schodet HiTechnic Prototype class now tested 4 months ago
                                                                                
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
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
environment:
  site: ni.srht.site
packages:
  - python3-usb
  - python3-bluetooth
  - python3-sphinx
  - python3-sphinx-rtd-theme
  - python3-pytest
  - python3-setuptools
sources:
  - https://git.sr.ht/~ni/nxt-python
tasks:
  - test: |
      cd nxt-python
      python3 -m pytest
  - doc: |
      cd nxt-python/docs
      make html
      mv _build/html latest
      tar czf ../../nxt-python.tar.gz latest
  - install: |
      cd nxt-python
      python3 setup.py install --user
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site/nxt-python -Fcontent=@nxt-python.tar.gz