forked from PHPirates/travis-ci-latex-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copy out al 2-texlive-pdflatex folder.
- Loading branch information
1 parent
de61aa5
commit d48a5f9
Showing
3 changed files
with
114 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
selected_scheme scheme-basic | ||
TEXDIR /tmp/texlive | ||
TEXMFCONFIG ~/.texlive/texmf-config | ||
TEXMFHOME ~/texmf | ||
TEXMFLOCAL /tmp/texlive/texmf-local | ||
TEXMFSYSCONFIG /tmp/texlive/texmf-config | ||
TEXMFSYSVAR /tmp/texlive/texmf-var | ||
TEXMFVAR ~/.texlive/texmf-var | ||
option_doc 0 | ||
option_src 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Originally from https://github.com/latex3/latex3 | ||
|
||
# This script is used for testing using Travis | ||
# It is intended to work on their VM set up: Ubuntu 12.04 LTS | ||
# A minimal current TL is installed adding only the packages that are | ||
# required | ||
|
||
# See if there is a cached version of TL available | ||
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH | ||
if ! command -v texlua > /dev/null; then | ||
# Obtain TeX Live | ||
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz | ||
tar -xzf install-tl-unx.tar.gz | ||
cd install-tl-20* | ||
|
||
# Install a minimal system | ||
./install-tl --profile=../texlive/texlive.profile | ||
|
||
cd .. | ||
fi | ||
|
||
# Just including texlua so the cache check above works | ||
# Needed for any use of texlua even if not testing LuaTeX | ||
tlmgr install luatex | ||
|
||
# Needed for TeX Live 2017 | ||
tlmgr install xkeyval | ||
|
||
# A kind of minimum set of packages needed | ||
tlmgr install collection-latex | ||
|
||
# Install babel languages | ||
tlmgr install collection-langeuropean | ||
|
||
# Index of packages: http://ctan.mirrors.hoobly.com/systems/texlive/tlnet/archive/ | ||
# Other contrib packages: done as a block to avoid multiple calls to tlmgr | ||
# pgf includes tikz | ||
tlmgr install \ | ||
exam \ | ||
amsmath \ | ||
amsthm \ | ||
amssymb \ | ||
mathtools \ | ||
enumerate \ | ||
thmtools \ | ||
stmaryrd \ | ||
xcolor \ | ||
pdfpages \ | ||
centernot \ | ||
pgf \ | ||
cancel \ | ||
hyperref \ | ||
bookmark \ | ||
pgfplots \ | ||
bm \ | ||
listings \ | ||
graphicx \ | ||
scalerel \ | ||
stackengine \ | ||
etoolbox \ | ||
listofitems \ | ||
marvosym \ | ||
amsfonts \ | ||
opensans \ | ||
slantsc \ | ||
fancyhdr \ | ||
ulem \ | ||
algorithms \ | ||
algorithmicx \ | ||
float \ | ||
booktabs \ | ||
enumitem \ | ||
polynom \ | ||
fancyvrb \ | ||
makecmds \ | ||
multirow \ | ||
chngcntr \ | ||
fvextra \ | ||
upquote \ | ||
lineno \ | ||
ifplatform \ | ||
xstring \ | ||
framed \ | ||
caption \ | ||
collection-fontsrecommended \ | ||
minted \ | ||
pgfgantt \ | ||
pdflscape \ | ||
geometry \ | ||
longtable \ | ||
beamer \ | ||
translator \ | ||
environ \ | ||
trimspaces \ | ||
imakeidx | ||
|
||
# Keep no backups (not required, simply makes cache bigger) | ||
tlmgr option -- autobackup 0 | ||
|
||
# Update the TL install but add nothing new | ||
tlmgr update --self --all --no-auto-install |
d48a5f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this build failing because the mirror which was selected to download texlive from has problems? Does restarting the build (since some time has passed since the build) make it work?
I wonder if it may be sometimes needed to specify a download mirror manually, if tlmgr auto-select selects a broken mirror.
d48a5f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
d48a5f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A restart seemed to work.
What I am trying to do is fix up the package list in the install there are many missing packaged/incorrectly named. for instance they give.
tlmgr install: package graphicx not present in repository
d48a5f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you're right indeed! I'll keep an eye on your repo or you can send a PR back if you have cleaned it. Thanks for noticing :)