Review: Hook the EPUB build up to Travis
This commit is contained in:
parent
75c6db936b
commit
1d6a0c3ca3
2 changed files with 9 additions and 2 deletions
|
@ -39,6 +39,7 @@ script:
|
||||||
- travis_retry curl -L https://raw.githubusercontent.com/plfa/git-tools/master/git-restore-mtime | python
|
- travis_retry curl -L https://raw.githubusercontent.com/plfa/git-tools/master/git-restore-mtime | python
|
||||||
- agda --version
|
- agda --version
|
||||||
- acknowledgements --version
|
- acknowledgements --version
|
||||||
|
- pandoc --version
|
||||||
- make test-offline # disable to only build cache
|
- make test-offline # disable to only build cache
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -13,7 +13,7 @@ endif
|
||||||
|
|
||||||
|
|
||||||
# Build PLFA and test hyperlinks
|
# Build PLFA and test hyperlinks
|
||||||
test: build
|
test: build epub
|
||||||
ruby -S bundle exec htmlproofer '_site'
|
ruby -S bundle exec htmlproofer '_site'
|
||||||
|
|
||||||
|
|
||||||
|
@ -154,7 +154,8 @@ travis-setup:\
|
||||||
$(HOME)/.local/bin/acknowledgements\
|
$(HOME)/.local/bin/acknowledgements\
|
||||||
$(HOME)/agda-stdlib-$(AGDA_STDLIB_VERSION)/src\
|
$(HOME)/agda-stdlib-$(AGDA_STDLIB_VERSION)/src\
|
||||||
$(HOME)/.agda/defaults\
|
$(HOME)/.agda/defaults\
|
||||||
$(HOME)/.agda/libraries
|
$(HOME)/.agda/libraries\
|
||||||
|
/usr/bin/pandoc
|
||||||
|
|
||||||
.phony: travis-setup
|
.phony: travis-setup
|
||||||
|
|
||||||
|
@ -167,6 +168,11 @@ $(HOME)/.local/bin/acknowledgements:
|
||||||
cd $(HOME)/acknowledgements-master;\
|
cd $(HOME)/acknowledgements-master;\
|
||||||
stack install
|
stack install
|
||||||
|
|
||||||
|
# The version of pandoc on Xenial is too old.
|
||||||
|
/usr/bin/pandoc:
|
||||||
|
curl -L https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb -o $(HOME)/pandoc.deb
|
||||||
|
dpkg -i $(HOME)/pandoc.deb
|
||||||
|
|
||||||
travis-uninstall-acknowledgements:
|
travis-uninstall-acknowledgements:
|
||||||
rm -rf $(HOME)/acknowledgements-master/
|
rm -rf $(HOME)/acknowledgements-master/
|
||||||
rm $(HOME)/.local/bin/acknowledgements
|
rm $(HOME)/.local/bin/acknowledgements
|
||||||
|
|
Loading…
Reference in a new issue