mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
do typecheck setup as part of prereqs install
This commit is contained in:
parent
52254e0176
commit
71c0e23b77
3 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@ jobs:
|
|||
- python: 3.6
|
||||
script: make -j 4 pytest pylint pytype
|
||||
- python: 3.7
|
||||
script: make build && ./tools/typecheck-setup.sh && make -j 4 check
|
||||
script: make -j 4 check
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
|
1
Makefile
1
Makefile
|
@ -55,6 +55,7 @@ REQS := .build/pyrunreqs .build/pydevreqs .build/jsreqs
|
|||
|
||||
.build/pyrunreqs: requirements.txt
|
||||
pip install -r $<
|
||||
./tools/typecheck-setup.sh
|
||||
touch $@
|
||||
|
||||
.build/pydevreqs: requirements.dev
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
|
||||
TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
||||
modDir=$(python -c 'import PyQt5, sys, os; print(os.path.dirname(sys.modules["PyQt5"].__file__))')
|
||||
cmd="rsync -av $TOOLS/stubs/PyQt5/* $modDir/"
|
||||
cmd="rsync -a $TOOLS/stubs/PyQt5/* $modDir/"
|
||||
|
||||
$cmd || sudo $cmd
|
||||
|
|
Loading…
Reference in a new issue