-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
85 lines (70 loc) · 3.29 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
79
80
81
82
83
# Use new container infrastructure to enable caching
#sudo: false
# branch whitelist, only for GitHub Pages
branches:
only:
- master # test the master branch
# Do not choose a language; we provide our own build tools.
#language: generic
# switch to R because latex and pandoc already installed!
language: r
cache:
bundler: true
apt: true
directories:
- ${HOME}/.bundle
- ${HOME}/.cabal
- ${HOME}/.ghc
- ${HOME}/.stack
# directories:
# - "node_modules"
env:
global:
- secure: MIIEpAIBAAKCAQEAumuqh31NhPJvV3BCRKEZYiSvbZc6aHtOfC6OoArQUsw1GsebfWWwLSti/ugoLqCZxHTK55i3FcX3hgI2qzo4NV2R9BgB4odfh0fL+xkDUb0cEWdZ8zvvKMRaEnqfryQ4cE0W5ApeBN5JnrN7idjit60d0lolZYGKPVGC089eqikt2fSPGAxsthY8V2ZC9vCePtAnwO6rpRe7x7cxgbxSsZpZmffveQoc6NM+pcWQAkBt8IIRY7WTvwTKDAWsf8MCDiXKdzI/HrezMmc3lz3BWP8Cp2nywPqQDLus/uIL1bV/4dJawwOtpR24k7VYrrrhK4g07dB1uyXPifYWFoAXEwIDAQABAoIBAQCx08qT/F9aFrlHO3q7ZMGF8WC2ta+twxIXO4IqAKbAlLODnC0i7UGllOGWL3dFI0YLNS3oxrC/QFzhpHLp21uK7Hsx0UTbBi+GKGLYX//elPqVT3VqpR16UfNp9TcmJvL/jUnstkcBddncXXHXCOEcPTNZWUybC3sHCx41VncC8Styu1+bFGOtasDbmPF8ZbHaeb4XufZdpErBmJxYD4AZNMMdGQqkFPqfQCmHghuo7K9QXOm7EPHSs/Gii7WlYQdQC6ZaMaXiZHy9x/qguGY6I0EpdcEZh/hH5peryKRoEm34zzTwG9Jpil61XKJe2WsE5qyTPUFFgq+84XYw70oBAoGBAOlAiKAgUiaSbgM0G3+U3FPCH7cQkXQHGArKnBcv2ywWdOKC69eEeCpwvr+lZXSfvDSfXDAXA58Ffzrz463MOF1VP9JSxgfcS38xJdP28L+8e4POF2ZQguEBZt4CeVbNMzauG4P7GhGKZq70a1AsAM3uktHf1QMIVaN+dFfzNeZTAoGBAMyZ6vc2i1FzSSlvtn0f6H+fWb1S8ypzDnKsE9rgy0AXEouS1CyKSHj+13pmbFA2sviMBBzbTZwP7zDiQQzdi3naForAGK2zoVOPO45oSS1/tj42FfL/CHDqiyRhbAgPPux+08IxvUaUbh0ZUkot7fE9kvRigsrTsAeeN0BMYXRBAoGBAN47rzCpOrwnXYvN1LlMslNXLHJ15a+fpqd5fRiWbwLlbn318RBI1VjSTNs5kZ15J48XmnTzKG8VhLA9eNq5Laa3N3SDiswodwH7aKg4qg50XVYqQJ8p7FjGxiSWRNeP8NCTOAIady7pJ4Zft/MNycJrIRW3ZjNaeIWqUN0PC3ajAoGAZU5o+1M0lHXi6fN4hmgANQDv7EBgSsqBguIVSrE3slo6QoXHLO6jh9WXV/HS+7y5zTt25droiLeTFb9Ruk8QOptzwevvzEI/RSKMuKyGX1L3J8KcB5+jzFU15COg3DTAUVVTALqkH4hrJVleV4B6apK0avFEFa3PYVZDwUCQmIECgYAljrNqGhZXzxDG4GgcI+08Gg7U0sQS64czn9IDQ+RUKv/HzKwoTnx7z+xTv1TfYcGC1clrBWWECMAiTvVSh+42s07dxrwaBHbJCUZyJ9NGHFsLI69wzWsapbIU1SLP1rGjOYkI+t6WII9RDEXRyYhFNkit31qGaJMg5vDdd12mPQ==
- GH_USER_NAME: dfolio
- GH_PROJECT_NAME: pandoc-df-thesis-template
- GIT_AUTHOR_NAME: travis
- GIT_AUTHOR_EMAIL: noreply@travis-ci.org
- TZ="Europe/Zurich"
- GHC_OPTIONS="-O0 -Werror"
- PATH=${HOME}/.local/bin:$PATH:.
- STACK_YAML=stack.yaml
compiler: ": #GHC 8.6"
addons:
apt:
update: true
packages:
- libgmp-dev
- biber
# - xindy
matrix:
fast_finish: true
before_install:
- unset CC
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
## Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=${HOME}/.local/bin:${HOME}/.cabal/bin:$PATH:.
- STACK_OS=linux-x86_64
- travis_retry curl -L https://www.stackage.org/stack/$STACK_OS | tar xz --strip-components=1 -C ~/.local/bin
- mkdir -p ${HOME}/pp
- travis_retry curl -L https://cdsoft.fr/pp/pp.tgz | tar xz -C ${HOME}/pp
- cabal update
- cabal info pandoc
- cabal info pandoc-citeproc
# Build dependencies
install:
- cabal install --prefix=${HOME}/.local/ pandoc-crossref
# build and install pp
- pushd ${HOME}/pp
- travis_wait 30 stack --no-terminal setup
- make
- make install
- popd
#before_script:
# - which pp
script:
# Build the package, its tests, and its docs and run the tests
#- make version
- make _check_programs
#- make html VERBOSE=1