forked from jupyter/nbconvert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (42 loc) · 1.43 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
# Use a newer travis environment:
# https://docs.travis-ci.com/user/trusty-ci-environment/
# needs these two lines:
sudo: required
dist: xenial # required for Python >=3.7 (travis-ci/travis-ci#9069), and defaults to newer texlive install.
language: python
matrix:
include:
- python: 3.6
- python: 3.7
- python: 3.8
allow_failures:
- python: nightly
env:
global:
- PATH=$TRAVIS_BUILD_DIR/bin:$PATH
addons:
apt:
packages:
- texlive-latex-extra # we need this for all the latex package we use, recommended is not enough
- texlive-generic-recommended # .. and more ...
- latex-xcolor # ... and more latex packages
- texlive-fonts-recommended # fonts...
- cm-super # more fonts
- texlive-xetex # latex to pdf converter
- inkscape # for svgs in pdf output
- lmodern # latex package
- texlive-generic-extra
install:
- wget https://github.com/jgm/pandoc/releases/download/2.7/pandoc-2.7-1-amd64.deb && sudo dpkg -i pandoc-2.7-1-amd64.deb
- pip install --upgrade setuptools pip pytest
- pip install -f travis-wheels/wheelhouse . codecov coverage
- pip install nbconvert[execute,serve,test]
- pip install check-manifest
- python -m ipykernel.kernelspec --user
script:
- check-manifest --ignore "share/**"
# cd so we test the install, not the repo
- cd `mktemp -d`
- py.test --cov nbconvert -v --pyargs nbconvert
after_success:
- codecov