Skip to content

Commit 3f413fe

Browse files
committed
Using dev-requirements for packages to install + removed coverage flag
For #46
1 parent a707f73 commit 3f413fe

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ install:
2929
- conda install numpy -y -q
3030
- conda install pyqt -y -q
3131
- conda install pip -y -q
32-
- pip install pytelemetry docopt sortedcontainers pyqtgraph pytest-cov
32+
- pip install -r dev-requirements.txt
3333
- export PYTHONPATH="$PYTHONPATH:$TRAVIS_BUILD_DIR"
3434

3535
# command to run tests
3636
script:
37-
- py.test -v --cov
37+
- py.test -v --timeout=100

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ install:
3939
- "%MINICONDA%\\Scripts\\conda install numpy -y -q"
4040
- "%MINICONDA%\\Scripts\\conda install pyqt -y -q"
4141
- "%MINICONDA%\\Scripts\\conda install pip -y -q"
42-
- "%MINICONDA%\\Scripts\\pip.exe install pytelemetry docopt sortedcontainers pyqtgraph pytest-cov"
4342
- "cd %APPVEYOR_BUILD_FOLDER%"
43+
- "%MINICONDA%\\Scripts\\pip.exe install -r dev-requirements.txt"
4444
- "SET PYTHONPATH=%PYTHONPATH%;%APPVEYOR_BUILD_FOLDER%"
4545
test_script:
46-
- "%MINICONDA%\\Scripts\\py.test -v --cov"
46+
- "%MINICONDA%\\Scripts\\py.test -v --timeout=100"

dev-requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ pytelemetry>1.1.0
22
docopt
33
sortedcontainers
44
pyqtgraph
5+
pytest-cov
6+
pytest-timeout

0 commit comments

Comments
 (0)