mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-05 13:32:32 +12:00
Add -B option to python3 -m pytest -vs command
Python only shows the deprecation warnings on initial run [1]. [1] https://bugs.python.org/issue30091 To work around this add the "-B" option to python invocation.
This commit is contained in:
parent
60b58d9658
commit
2b98561981
|
@ -8,7 +8,7 @@ install:
|
|||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then bash package/prepare_osx.sh; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then bash package/prepare_linux.sh; fi
|
||||
script:
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then python3 -m pytest -vs; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then python3 -B -m pytest -vs; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then xvfb-run -s '-screen 0 640x480x24 +extension GLX' pytest -vs; fi
|
||||
before_deploy:
|
||||
- export FILENAME=manuskript-$TRAVIS_BRANCH-$TRAVIS_OS_NAME.zip
|
||||
|
|
Loading…
Reference in a new issue