/install-tex-travis

Install Script for TeXLive2019 to OSX and Linux on Travis CI

Primary LanguageShell

Install Script for TeXLive2019 to macOS and Linux on Travis CI

Build Status

How to use

matrix:
  include:
    - os: osx
      osx_image: xcode10.3

    - os: linux
      dist: bionic

cache:
  directories:
    - $HOME/texlive
    - $HOME/.texlive
    - $HOME/texmf

sudo: false

before_install:
  - wget https://raw.githubusercontent.com/y-yu/install-tex-travis/master/install-tex.sh
  - wget https://raw.githubusercontent.com/y-yu/install-tex-travis/master/tlmgr.sh
  - chmod +x install-tex.sh tlmgr.sh

install:
  - . ./install-tex.sh
  - ./tlmgr.sh install collection-langjapanese

It is necessary to write . ./install-tex.sh on the install step because this script updates the PATH environment variable. (see this link)