-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (54 loc) · 1.58 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
52
53
54
language: bash
sudo: false
cache:
- apt
os:
- linux
addons:
apt:
packages:
- build-essential
- texlive-base
- texlive-binaries
- texlive-latex-base
- texlive-latex-extra
- texlive-bibtex-extra
- lmodern
- texlive-fonts-recommended
- texlive-latex-recommended
- texlive-generic-recommended
- texlive-science
- latex-beamer
- pgf
- pandoc
- unzip
- git-core
hosts:
- travis.dev
env:
global:
- TEXMFLOCAL=/tmp/texmf/
before_script:
- source ./tests/setup_bats.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bats; fi
- mkdir -p $TEXMFLOCAL/tex/latex/
- wget -q http://mirrors.ctan.org/macros/latex/contrib/tcolorbox.zip
- wget -q http://mirrors.ctan.org/macros/latex/contrib/floatflt.zip
- wget -q http://mirrors.ctan.org/macros/latex/contrib/ulem.zip
- unzip -qq tcolorbox.zip -d $TEXMFLOCAL
- unzip -qq floatflt.zip
- unzip -qq ulem.zip
- cd ./floatflt/ && latex floatflt.ins && cd -
- cp ./floatflt/floatflt.sty $TEXMFLOCAL/tex/latex/
- cp ./ulem/ulem.sty $TEXMFLOCAL/tex/latex/
- texhash
script:
- bats tests
notifications:
email:
on_success: never
slack:
rooms:
- secure: JEi0rqcU1DsXPvO1AKPxtSQqG51u55SbDxzLajjL97MdZAobghD1j933gqpAxrKRKXoaxRAHERV6ryMecnTY8TSz+EVgnYjfPvCINH6a5EnSQsVb3QcxCHHTXD+h8nRcdDnAO+xt2dQDGuSwHyEfPSYkzyK7EaZSIsUyBGhNUe8=
- secure: OZvUL1TBdcab6at0ZPiKkD2SkeOXJ1FJBad2fPeBNZe8OGgLru+aXeNRXvfVNJBi3qOTjg9KWqrzs2BfNjA1u8jlXmyFxdC81keNkAE32h14smeKa80wZ51yeNmC9sTmO9glBG156C1oTte6wkf1KZjdSov9EpP26iRJ5XqilKI=