Skip to content

Commit e077d0d

Browse files
committed
circleci: proper setting of env variable
1 parent 2d6a45d commit e077d0d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,16 @@ jobs:
3232
working_directory: ~/matplotlib2tikz
3333
docker:
3434
- image: ubuntu:17.10
35+
environment:
36+
- TEXMFLOCAL: "/tmp/texmf/"
3537
steps:
3638
- run: apt-get update
3739
- run: apt-get install -y texlive-latex-base texlive-latex-extra python3-pip wget
3840
- run: pip3 install -U pytest pytest-cov code_extract pylint
3941
- checkout
4042
- run: code-extract ~/matplotlib2tikz/README.md ~/matplotlib2tikz/test/zzz_readme_test.py --filter python,test
4143
# install latest pgfplots
42-
- run: export TEXMFLOCAL=/tmp/texmf/ && mkdir -p $TEXMFLOCAL
44+
- run: mkdir -p $TEXMFLOCAL
4345
- run: wget http://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip -O /tmp/pgfplots.zip
4446
- run: unzip /tmp/pgfplots.zip -d $TEXMFLOCAL
4547
- run: texhash

0 commit comments

Comments
 (0)