-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
78 lines (78 loc) · 2.74 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
language: ruby
sudo: false
cache:
- bundler
- apt
bundler_args: "--without=release doc"
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-science
- latex-beamer
- pgf
- pandoc
- unzip
- git
- git-flow
# - git-crypt
hosts:
- travis.dev
before_install:
- gem install bundler
rvm:
- 2.5
- 2.6
env:
global:
- CC_TEST_REPORTER_ID=183d6f12ac3b43cd608c9de4db4f4dca8b26c284a088331a8a9890d246dee104
- TRAVIS_CI_RUN=true
- GIT_SSH='ssh -o StrictHostKeyChecking=no'
- GIT_AUTHOR_NAME='Travis CI'
- GIT_AUTHOR_EMAIL='travis@example.com'
- TEXMFLOCAL=/tmp/texmf/
# installing a couple of LaTeX packages from CTAN manually as the
# tlmgr command is mising on ubuntu/precise
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
before_install:
- mkdir -p $TEXMFLOCAL/tex/latex/
- wget -N -q http://mirrors.ctan.org/install/macros/latex/contrib/tcolorbox.tds.zip
- wget -N -q http://mirrors.ctan.org/macros/latex/contrib/acronym.zip
- wget -N -q http://mirrors.ctan.org/macros/latex/contrib/floatflt.zip
- wget -N -q http://mirrors.ctan.org/macros/latex/contrib/todonotes.zip
- unzip -qq tcolorbox.tds.zip -d $TEXMFLOCAL
- unzip -qq acronym.zip -d $TEXMFLOCAL
- unzip -qq floatflt.zip
- unzip -qq todonotes.zip
- cd ./floatflt/ && latex floatflt.ins && cd -
- cd ./todonotes/ && latex todonotes.ins && cd -
- cp ./floatflt/floatflt.sty $TEXMFLOCAL/tex/latex/
- cp ./todonotes/todonotes.sty $TEXMFLOCAL/tex/latex/
- texhash
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
email:
on_success: never
hipchat:
rooms:
secure: E0V9xQtCyPSB+SZ5n+ztdM5tzJ7d1eR+XR1gIBfAwe0JYnRb735B1v0Z3CVBmosKpv16KEoKUDjum1vHGk8fnOOcxoHx+TtTCF1TVpuBtKzXqG6t4YZAYjkGSIBUM1Zd7kXLlsdmdwRToGmKRqblQHutnm0LkyII/CAwaO+UeY8=
# slack:
# secure: NBN4QhHuaXpwZIxUOzZi29Z4iW0EK/d2ID7zZqz+1RDO/9BD7QqX5unM/SFP46oTbhEqNH/vMLLMFQ9i9l7Z1i6Z6nCNRiLRIjgPSL+3GMamPQm1Pj4JaLkwLHogxHdRvozfU3tdSG9uGmK++Aak/NLC/i5TASGrBMgKrmXLXEk=
slack:
secure: BKYRevAa4+qThbhsYbsgBxA8bzuNx0lUFTDnIkS1Vw+lwnM0I4o38X7/ZtJccL1YXqEbCBIaz21mNx4UWxMQEcPNyJENHXYLX9zjHxPPuW83KNnrgVLtel0keGwgxl0Ah4eRhPvYzdA5FonfAurw9GuxW4au2XcUNFNy/iKEpX0=
# addons:
# code_climate:
# repo_token:
# secure: "ZBtaK84ZnjyT4X7mGSYDx31HgD94nZccxAzKA2SBjakW/hfsx9sBGOusxYN7EuC6JydjwLFN3MwLfEGMgjC1zxNwvLO9PGQbh52QawKBue09qouitJbOODwUfQgzNHj/Z0x3dMv3X1Qz31gbfDaC6DJsnTtG2q7R7Kni8hq4/FU="