-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
51 lines (46 loc) · 1.64 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: python
cache:
timeout: 1800
pip: true
# https://docs.travis-ci.com/user/languages/python/
jobs:
include:
- name: "Python 3.6 on Ubuntu"
os: linux
python: 3.6
before_install:
- sudo apt-get install -y ffmpeg
- name: "Python 3.7 on macOS 10.14"
os: osx
osx_image: xcode11.2
language: shell
before_install:
- brew install ffmpeg
- brew install cairo
- pip3 install pycairo --user
- name: "Python 3.7 on Windows"
os: windows
language: shell
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
- choco install python --version 3.7.4
- choco install ffmpeg
# - choco install miktex.portable
- choco install sox.portable
# https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo
# https://stackoverflow.com/a/48132109/6646912
- pip3 install https://download.lfd.uci.edu/pythonlibs/s2jqpv5t/pycairo-1.19.1-cp37-cp37m-win_amd64.whl --user
# temporary workaround for https://github.com/3b1b/manim/pull/672
- pip3 install pyreadline==2.1 --user
allow_failures:
- os: windows
install:
- pip3 install --upgrade pip || python -m pip install --upgrade pip --user
- pip3 install wheel || pip3 install wheel --user
- pip3 install -r requirements.txt || pip3 install -r requirements.txt --user
- pip3 install -r tests/requirements.txt || pip3 install -r tests/requirements.txt --user
- python3 setup.py install || python setup.py install
script:
- python3 ipytest.py --cov=jupyter_manim -v || python ipytest.py --cov=jupyter_manim -v
after_success:
- codecov