Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

travis setup

leotrsdfccf0ddffb6
diff --git a/.travis.yml b/.travis.yml
index c228f4dab..2d795d3ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,6 @@ jobs:
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
- - sudo apt install ffmpeg
script:
- pytest
@@ -21,7 +20,6 @@ jobs:
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
- - sudo apt install ffmpeg
script:
- pytest
@@ -33,7 +31,6 @@ jobs:
- pip3 install -r ./.travis/travis-requirements.txt
- pip3 install pycairo pytest
- pip3 install .
- - sudo apt install ffmpeg
script:
- pytest
@@ -129,6 +126,7 @@ jobs:
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
branches:
only:
diff --git a/.travis/linux.sh b/.travis/linux.sh
new file mode 100644
index 000000000..573502ce7
--- /dev/null
+++ b/.travis/linux.sh
@@ -0,0 +1,5 @@
+##### THIS IS FOR TRAVIS BUILDS, DO NOT RUN THIS ON YOUR COMPUTER! #####
+
+sudo apt update
+sudo apt upgrade
+sudo apt install ffmpeg