]> hydra-www.ietfng.org Git - mcv-academic/commitdiff
Update CI with vanilla tools
authoradin <adin@ic.unicamp.br>
Wed, 5 Jul 2017 22:03:58 +0000 (19:03 -0300)
committeradin <adin@ic.unicamp.br>
Wed, 5 Jul 2017 22:03:58 +0000 (19:03 -0300)
.gitlab-ci.yml

index 19837b5207d80971d5a2f357a759bc0fdbe811fb..7b3be9506be2169dfb6c573163f3b606cf220787 100644 (file)
@@ -1,13 +1,21 @@
+before_script:
+  # setup texmf
+  - TEXMFHOME=`kpsewhich -var-value TEXMFHOME`
+  - LOCALTEX=$TEXMFHOME/tex/latex
+
+  - mkdir -p $LOCALTEX  
 
 build:
-  image: adnrv/texlive-adntools
+  image: adnrv/texlive-tools
   script:
+    # link these files in the local texmf
+    - ln -s `pwd` $LOCALTEX/mcv-academic
+    # process and build our example
     - cd example
     - make all
   artifacts:
     paths:
-      - ./example/example-en.pdf
-      - ./example/example-es.pdf
+      - ./example/example-*.pdf
   tags:
     - docker