Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update .travis.yml

Aathish75e9bf955be6
diff --git a/.travis.yml b/.travis.yml
index b9aa80d95..16e889b19 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,50 +1,10 @@
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: osx
language: sh
python: 3.6
env: PYVER="3.6.10"
- before_install:
- - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
- - brew install ffmpeg
- - brew cask install basictex
- - eval "$(/usr/libexec/path_helper)"
- - sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
@@ -57,12 +17,6 @@ jobs:
language: sh
python: 3.7
env: PYVER="3.7.7"
- before_install:
- - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
- - brew install ffmpeg
- - brew cask install basictex
- - eval "$(/usr/libexec/path_helper)"
- - sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
@@ -75,12 +29,6 @@ jobs:
language: sh
python: 3.8
env: PYVER="3.8.0" # Using Python 3.8.0 due to error with rich
- before_install:
- - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
- - brew install ffmpeg
- - brew cask install basictex
- - eval "$(/usr/libexec/path_helper)"
- - tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
install:
- pip3 install --upgrade pip
- pip3 install -r ./.travis/travis-requirements.txt
@@ -89,56 +37,6 @@ jobs:
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
@@ -147,5 +45,14 @@ branches:
only:
- master
+addons:
+ homebrew:
+ packages:
+ - ffmpeg
+ - sox
+ casks:
+ - basictex
+ update: true
+
notifications:
email: false