A community-maintained Python framework for creating mathematical animations.
Add Back Windows and Linux tests
Aathish48d2909411c1
diff --git a/.travis.yml b/.travis.ymlindex 128c09481..bc90024de 100644--- a/.travis.yml+++ b/.travis.yml@@ -1,5 +1,39 @@jobs:include:+ # Linux Jobs+ - os: linux+ language: python+ python: 3.6+ install:+ - pip3 install --upgrade pip+ - pip3 install -r ./.travis/travis-requirements.txt+ - pip3 install pycairo pytest+ - pip3 install .+ script:+ - pytest++ - os: linux+ language: python+ python: 3.7+ install:+ - pip3 install --upgrade pip+ - pip3 install -r ./.travis/travis-requirements.txt+ - pip3 install pycairo pytest+ - pip3 install .+ script:+ - pytest++ - os: linux+ language: python+ python: 3.8+ install:+ - pip3 install --upgrade pip+ - pip3 install -r ./.travis/travis-requirements.txt+ - pip3 install pycairo pytest+ - pip3 install .+ script:+ - pytest+# MacOS (OSX) Jobs- os: osxlanguage: sh@@ -45,7 +79,57 @@ jobs:- pip3 install .script:- pytest++ # Windows Jobs+ - os: windows+ language: sh+ python: 3.6+ # the latest version available on chocolatey is 3.6.8+ env: PYVER="3.6.8" PYDIR="Python36"+ install:+ - choco install python --version=$PYVER+ - export PATH="/c/$PYDIR:/c/$PYDIR/Scripts:$PATH"+ - cmd.exe //c "RefreshEnv.cmd"+ - python -m pip install --upgrade pip+ - python -m pip install --user -r ./.travis/travis-requirements.txt+ - python ./scripts/pycairoinstall.py+ - cmd.exe //c "RefreshEnv.cmd"+ - python -m pip install --user .+ script:+ - python -m pytest --skip_end_to_end -rs+ - os: windows+ language: sh+ python: 3.7+ env: PYVER="3.7.7" PYDIR="Python37"+ install:+ - choco install python --version=$PYVER+ - export PATH="/c/$PYDIR:/c/$PYDIR/Scripts:$PATH"+ - cmd.exe //c "RefreshEnv.cmd"+ - python -m pip install --upgrade pip+ - python -m pip install --user -r ./.travis/travis-requirements.txt+ - python ./scripts/pycairoinstall.py+ - cmd.exe //c "RefreshEnv.cmd"+ - python -m pip install --user .+ script:+ - python -m pytest --skip_end_to_end -rs++ - os: windows+ language: sh+ python: 3.8+ env: PYVER="3.8.0" PYDIR="Python38" # Using Python 3.8.0 due to error with rich+ install:+ - choco install python --version=$PYVER+ - export PATH="/c/$PYDIR:/c/$PYDIR/Scripts:$PATH"+ - cmd.exe //c "RefreshEnv.cmd"+ - python -m pip install --upgrade pip+ - python -m pip install --user -r ./.travis/travis-requirements.txt+ - python ./scripts/pycairoinstall.py+ - cmd.exe //c "RefreshEnv.cmd"+ - python -m pip install --user .+ script:+ - python -m pytest --skip_end_to_end -rs+before_install:- if [ "$TRAVIS_OS_NAME" == "osx" ]; then chmod +x ./.travis/osx.sh; sh ./.travis/osx.sh; fi- if [ "$TRAVIS_OS_NAME" == "linux" ]; then chmod +x ./.travis/linux.sh; sh ./.travis/linux.sh; fi