A community-maintained Python framework for creating mathematical animations.
Add python -m for windows pytest
safinsinghf9bb278d410a
diff --git a/.travis.yml b/.travis.ymlindex 28f2f18fc..479eb9a72 100644--- a/.travis.yml+++ b/.travis.yml@@ -9,6 +9,8 @@ jobs:- pip3 install -r ./.travis/travis-requirements.txt- pip3 install pycairo- pip3 install .+ script:+ - pytest- os: linuxlanguage: python@@ -18,6 +20,8 @@ jobs:- pip3 install -r ./.travis/travis-requirements.txt- pip3 install pycairo- pip3 install .+ script:+ - pytest- os: linuxlanguage: python@@ -27,6 +31,8 @@ jobs:- pip3 install -r ./.travis/travis-requirements.txt- pip3 install pycairo- pip3 install .+ script:+ - pytest# MacOS (OSX) Jobs- os: osx@@ -38,6 +44,8 @@ jobs:- pip3 install -r ./.travis/travis-requirements.txt- pip3 install pycairo- pip3 install .+ script:+ - pytest- os: osxlanguage: sh@@ -48,6 +56,8 @@ jobs:- pip3 install -r ./.travis/travis-requirements.txt- pip3 install pycairo- pip3 install .+ script:+ - pytest- os: osxlanguage: sh@@ -58,6 +68,8 @@ jobs:- pip3 install -r ./.travis/travis-requirements.txt- pip3 install pycairo- pip3 install .+ script:+ - pytest# Windows Jobs- os: windows@@ -74,6 +86,8 @@ jobs:- python ./.travis/cairo-windows.py- cmd.exe //c "RefreshEnv.cmd"- python -m pip install --user .+ script:+ - python -m pytest- os: windowslanguage: sh@@ -88,6 +102,8 @@ jobs:- python ./.travis/cairo-windows.py- cmd.exe //c "RefreshEnv.cmd"- python -m pip install --user .+ script:+ - python -m pytest- os: windowslanguage: sh@@ -102,13 +118,12 @@ jobs:- python ./.travis/cairo-windows.py- cmd.exe //c "RefreshEnv.cmd"- python -m pip install --user .+ script:+ - python -m pytestbefore_install:- if [ "$TRAVIS_OS_NAME" == "osx" ]; then chmod +x ./.travis/osx.sh; sh ./.travis/osx.sh; fi-script:- - pytest-branches:only:- travis-setup