From 9265b2a9c93e8afe8b063cdea34eee91a86c52ec Mon Sep 17 00:00:00 2001 From: Josef Dolezal Date: Wed, 12 Apr 2017 17:18:38 +0200 Subject: [PATCH] Add auto build --- .gitignore | 2 +- .travis.yml | 17 +++++++++++++++++ bibliography.bib | 6 ++---- latexmkrc | 2 ++ thesis.tex | 2 +- thesis_cover_bw.tex | 6 +++--- 6 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 .travis.yml create mode 100644 latexmkrc diff --git a/.gitignore b/.gitignore index e60f1d9..2c4d78f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ # Created by https://www.gitignore.io/api/tex,latex,macos ## Document build folder -build +/*.pdf ### LaTeX ### ## Core latex/pdflatex auxiliary files: diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..00005d7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +dist: trusty +before_install: + - sudo apt-get -qq update + - sudo apt-get install -y --no-install-recommends texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended texlive-lang-czechslovak texlive-generic-extra lmodern latexmk +script: + - latexmk -c + - latexmk -pdf +deploy: + provider: releases + api_key: + secure: "LNsxQKTxofPdQ+uf3YcAT5wSMM/jCkWLL5IBSOcvURTDmNv4zhsk6kYbYg1q/ywj+YZ2dMgwi/eb43k8YedzY4YlhAGVgFFYHweGzu++dyjGmPkNP+6Je+1ccPy+WtBJWLYOUTF3gVBxWDfVYnpSE83ICcyitzjkAQhIX8BMUxFmNnBi3yjucxzXhzZGXrtdov5nw2cONmICTsrYZbKXrDtRX9AzZDhnBnuii6KGZQl8KO0NCawHvU0OtJOdT9SQSgntFpdkVu6iG3KWnHLXYpxAykIdI4kef/7363QMQ1t0oyNAtL6pnQkuBQ/ZTAllSjgw40Hokmx70XjRo3+WZJvkM+FVTBiEKH0Lnc6lFrTHQA+DfYvRuNX74Jeb1ve4L44QqQWxpn8gpyj0dDJz4s+RMugFXhnnrPw9SVBlTsco9CzK0XL1kqV/FYhDGb07mClmi+qYeB8piKez/W5mz2FjaWsl8hPIz9cJUm+kFHKhTs+QIWUw/01E6Bp1riH7gCxPXbsDqVXlG8GcW6UIqvJlAWOcvUcAidoPrS0uKhTzyi3VndijlRHL9kf3BD1kBd6XYQftZmooOLRyECVsYcoOGP0ECE9o3OTbDs10n/tpVMeOmY/+JrbIECoGnUVyH+1kfasmN5/s0gK4Lf+y2OlyIz8P2DMFrV6TTbnb4c8=" + file: + - thesis.pdf + - thesis_cover_bw.pdf + skip_cleanup: true + on: + tags: true diff --git a/bibliography.bib b/bibliography.bib index 0927a4f..d379ab0 100644 --- a/bibliography.bib +++ b/bibliography.bib @@ -5,7 +5,7 @@ @ARTICLE {3d-print-google-trends month = "duben", year = "2017", note = "[cit. 2017-4-11]", - url = "https://trends.google.cz/trends/explore?q=3d%20print" + url = "https://trends.google.cz/trends/explore?q=3d\%20print" } @ARTICLE {mobile-devices-market-share, @@ -85,7 +85,5 @@ @ARTICLE {objcio-bdd month = "srpen", year = "2014", note = "[cit. 2017-3-29]", - url = "https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/09-ui_testing.html" + url = "https://www.objc.io/issues/15-testing/behavior-driven-development/" } - -https://www.objc.io/issues/15-testing/behavior-driven-development/ diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000..289fbb1 --- /dev/null +++ b/latexmkrc @@ -0,0 +1,2 @@ +$pdflatex = 'pdflatex -interaction=nonstopmode -halt-on-error'; +@default_files = ('thesis.tex', 'thesis_cover_bw.tex'); diff --git a/thesis.tex b/thesis.tex index 4b82215..a784cb3 100755 --- a/thesis.tex +++ b/thesis.tex @@ -63,7 +63,7 @@ \end{conclusion} \bibliographystyle{csn690} -\bibliography{bibliography.bib} +\bibliography{bibliography} \appendix diff --git a/thesis_cover_bw.tex b/thesis_cover_bw.tex index 0d78650..633f227 100755 --- a/thesis_cover_bw.tex +++ b/thesis_cover_bw.tex @@ -1,9 +1,9 @@ -\documentclass[thesis=B,czech]{template/FITcover}[2015/04/29] +\documentclass[thesis=B,czech]{FITcover}[2015/04/29] \usepackage[utf8]{inputenc} -\title{Slovní slovníkové kompresní metody} -\author{Jan NOVÁK} +\title{iOS aplikace k ovládání 3D tiskáren} +\author{Josef DOLEŽAL} \begin{document}