From e4e9127baa3dccb3638ba8115855c1404a89a3e3 Mon Sep 17 00:00:00 2001 From: skyel1u Date: Sun, 14 Jan 2018 14:15:44 +0800 Subject: [PATCH] modify .travis.yml --- .travis.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ce7579..09c598f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,17 @@ -language: node_js -node_js: stable \ No newline at end of file +sudo: required +dist: xenial +before_install: +- unalias cp +- sudo apt-get update +- sudo apt-get -y install texlive-full +- sudo apt-get -y install fonts-roboto # install fonts +- wget https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKsc-hinted.zip +- unzip NotoSansCJKsc-hinted.zip +- cp NotoSansCJKsc-Bold.otf ./CTF-All-In-One/tex/fonts/NotoSansCJKSC/NotoSansCJKsc-Bold.otf +- cp NotoSansCJKsc-Regular.otf ./CTF-All-In-One/tex/fonts/NotoSansCJKSC/NotoSansCJKsc-Regular.otf +- sudo fc-cache -fv +- sudo rm -rf *.otf *.zip + +script: +- cd tex +- xelatex -output-directory build ./main.tex \ No newline at end of file