summaryrefslogtreecommitdiff
path: root/contrib/QDarkStyleSheet/tox.ini
blob: 6cab8ca4171ee9d19f95fff3e183b6e7d146555a (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tox]
envlist =
  #{win,lin,mac}-{py34}-{pyqt,pyside}
  {win,lin,mac}-{py36}-{pyqt5,pyside2}

skip_missing_interpreters =
  true

[testenv]
platform =
  # platforms to run
  win: windows
  lin: linux
  mac: osx

deps =
  # to make sure it has
  setuptools
  pip
  wheel
  virtualenv
  qtpy
  pytest
  pytest-qt

  # basic dependencies for each env
  pyqt: pyqt
  pyqt5: pyqt5
  pyside: pyside
  pyside2: pyside2

whitelist_externals =
  # non python dependencies
  qmake
  doc: make
  doc: latexpdf

changedir =
  script

commands =
  python process_ui.py
  python process_qrc.py

  pip install ../.

  python -m qdarkstyle --all

  pyqt: python ../example/example.py --qt_from=pyqt --test
  pyqt: python ../example/example.py --qt_from=pyqt --test --no_dark

  pyqt5: python ../example/example.py --qt_from=pyqt5 --test
  pyqt5: python ../example/example.py --qt_from=pyqt5 --test --no_dark

  pyside: python ../example/example.py --qt_from=pyside --test
  pyside: python ../example/example.py --qt_from=pyside --test --no_dark

  pyside2: python ../example/example.py --qt_from=pyside2 --test
  pyside2: python ../example/example.py --qt_from=pyside2 --test --no_dark

usedevelop =
  develop: true