mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Merge pull request #313 from cclauss/patch-3
Run free Travis CI and flake8 tests on all new code submissions
This commit is contained in:
commit
e4fa624c7e
2 changed files with 25 additions and 0 deletions
22
.travis.yml
Normal file
22
.travis.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
group: travis_latest
|
||||
language: python
|
||||
cache: pip
|
||||
matrix:
|
||||
include:
|
||||
- python: 3.7
|
||||
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
|
||||
sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install -r requirements.txt
|
||||
- pip install flake8
|
||||
before_script:
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
script:
|
||||
- true # add other tests here
|
||||
notifications:
|
||||
on_success: change
|
||||
on_failure: change # `always` will be the setting once code changes slow down
|
|
@ -1,6 +1,9 @@
|
|||
# Manim
|
||||
Animation engine for explanatory math videos.
|
||||
|
||||
[](https://travis-ci.com/3b1b/manim)
|
||||
|
||||
|
||||
For those who want to play around with this tool, I should be upfront that I've mostly had my own use cases (i.e. 3b1b videos) in mind while building it, and it might not be the most friendly thing to get up and running. In particular, I have not done a great job tracking requirements, writing
|
||||
tests, and documentation, to put it euphemistically, almost exclusively takes the form of naming conventions.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue