-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (32 loc) · 843 Bytes
/
.travis.yml
File metadata and controls
41 lines (32 loc) · 843 Bytes
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
language: python
matrix:
include:
- os: linux
sudo: required
python: 3.6
dist: xenial
- os: osx
osx_image: xcode10
language: generic
env: PYTHON=36
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y --no-install-recommends texlive-full; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install ccache; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then travis_wait 40 brew cask install mactex; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="$PATH:/Library/TeX/texbin"; fi
install:
- pip install pytest pytest-cov coveralls
- pip install .
before_cache:
- brew cleanup
cache:
ccache: true
pip: true
script:
- which pdflatex
- which latexdiff
- pytest --cov=comparxiv tests
after_success:
- coveralls
notifications:
email: true