Installing pygments and configuring minted for continuous builds on travis-CI
up vote
1
down vote
favorite
I have set up a continuous integration system using github and travis CI using this workflow that was given as an answer to a similar question here. Everything works fine and I am able to build the PDF upon each git push.
Now, there is an issue in using the minted
package for code listings. which has an external dependency on the pygments
library.
How do I modify the .travis.yml
(specifically the one from that reference link) to install pygments
on the travis build environment and configure it (i.e. make TeX find it) for building the project?
minted build-system travis continuous-integration
add a comment |
up vote
1
down vote
favorite
I have set up a continuous integration system using github and travis CI using this workflow that was given as an answer to a similar question here. Everything works fine and I am able to build the PDF upon each git push.
Now, there is an issue in using the minted
package for code listings. which has an external dependency on the pygments
library.
How do I modify the .travis.yml
(specifically the one from that reference link) to install pygments
on the travis build environment and configure it (i.e. make TeX find it) for building the project?
minted build-system travis continuous-integration
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have set up a continuous integration system using github and travis CI using this workflow that was given as an answer to a similar question here. Everything works fine and I am able to build the PDF upon each git push.
Now, there is an issue in using the minted
package for code listings. which has an external dependency on the pygments
library.
How do I modify the .travis.yml
(specifically the one from that reference link) to install pygments
on the travis build environment and configure it (i.e. make TeX find it) for building the project?
minted build-system travis continuous-integration
I have set up a continuous integration system using github and travis CI using this workflow that was given as an answer to a similar question here. Everything works fine and I am able to build the PDF upon each git push.
Now, there is an issue in using the minted
package for code listings. which has an external dependency on the pygments
library.
How do I modify the .travis.yml
(specifically the one from that reference link) to install pygments
on the travis build environment and configure it (i.e. make TeX find it) for building the project?
minted build-system travis continuous-integration
minted build-system travis continuous-integration
edited 2 days ago
PHPirate
687421
687421
asked May 15 at 20:08
Krishna
923518
923518
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
This is not about Travis in particular, but there is another docker image (vanilla TL2018 on Debian) out there that works with minted and Pygments: sumdoc/texlive-2018
(see https://hub.docker.com/r/sumdoc/texlive-2018/). Simply use this as a replacement for your previous docker image and you will be able to run a normal LaTeX call with shell escape to build your document.
add a comment |
up vote
1
down vote
Here is the Travis-specific answer: you can install such dependencies by adding this to your .travis.yml
before the install
block:
# Dependency of the minted package
before_install:
- sudo apt-get install python-pygments
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
This is not about Travis in particular, but there is another docker image (vanilla TL2018 on Debian) out there that works with minted and Pygments: sumdoc/texlive-2018
(see https://hub.docker.com/r/sumdoc/texlive-2018/). Simply use this as a replacement for your previous docker image and you will be able to run a normal LaTeX call with shell escape to build your document.
add a comment |
up vote
1
down vote
accepted
This is not about Travis in particular, but there is another docker image (vanilla TL2018 on Debian) out there that works with minted and Pygments: sumdoc/texlive-2018
(see https://hub.docker.com/r/sumdoc/texlive-2018/). Simply use this as a replacement for your previous docker image and you will be able to run a normal LaTeX call with shell escape to build your document.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
This is not about Travis in particular, but there is another docker image (vanilla TL2018 on Debian) out there that works with minted and Pygments: sumdoc/texlive-2018
(see https://hub.docker.com/r/sumdoc/texlive-2018/). Simply use this as a replacement for your previous docker image and you will be able to run a normal LaTeX call with shell escape to build your document.
This is not about Travis in particular, but there is another docker image (vanilla TL2018 on Debian) out there that works with minted and Pygments: sumdoc/texlive-2018
(see https://hub.docker.com/r/sumdoc/texlive-2018/). Simply use this as a replacement for your previous docker image and you will be able to run a normal LaTeX call with shell escape to build your document.
answered Aug 19 at 16:47
TeXnician
23.2k62984
23.2k62984
add a comment |
add a comment |
up vote
1
down vote
Here is the Travis-specific answer: you can install such dependencies by adding this to your .travis.yml
before the install
block:
# Dependency of the minted package
before_install:
- sudo apt-get install python-pygments
add a comment |
up vote
1
down vote
Here is the Travis-specific answer: you can install such dependencies by adding this to your .travis.yml
before the install
block:
# Dependency of the minted package
before_install:
- sudo apt-get install python-pygments
add a comment |
up vote
1
down vote
up vote
1
down vote
Here is the Travis-specific answer: you can install such dependencies by adding this to your .travis.yml
before the install
block:
# Dependency of the minted package
before_install:
- sudo apt-get install python-pygments
Here is the Travis-specific answer: you can install such dependencies by adding this to your .travis.yml
before the install
block:
# Dependency of the minted package
before_install:
- sudo apt-get install python-pygments
answered 2 days ago
PHPirate
687421
687421
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f431754%2finstalling-pygments-and-configuring-minted-for-continuous-builds-on-travis-ci%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password