forked from jupyter/nbconvert
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
42 lines (41 loc) · 1.27 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
# Use a newer travis environment:
# https://docs.travis-ci.com/user/trusty-ci-environment/
# needs these two lines:
sudo: required
dist: trusty
language: python
python:
- "nightly"
- 3.5
- 3.4
- 3.3
- 2.7
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
before_install:
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
install:
- wget http://c90cb902a90d6a506ab3-a24171cbeaa42ce11788f0df3362e902.r46.cf5.rackcdn.com/pandoc-1.15.0.6.tar.gz && tar -xzf pandoc-1.15.0.6.tar.gz
- pip install -f travis-wheels/wheelhouse . codecov coverage
- pip install nbconvert[execute,serve,test]
- python -m ipykernel.kernelspec --user
script:
# cd so we test the install, not the repo
- cd `mktemp -d`
- py.test --cov nbconvert -v --pyargs nbconvert
after_success:
- codecov
matrix:
allow_failures:
- python: "nightly"