diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..38e9167e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: build + +on: + push: + schedule: + - cron: '0 0 * * *' + +jobs: + build: + + runs-on: ubuntu-latest + container: danteev/texlive + + steps: + - uses: actions/checkout@v1 + - name: Test thesis + run: make thesis + - name: Test spine + run: | + sed -i 's/\[RawFeature={vertical:}\]{FangSong}/\[Extension=.otf,RawFeature={vertical:}\]{FandolFang-Regular}/' spine.tex + make spine + - name: Test doc + run: make doc + - name: Test formats + run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e8bd6241..00000000 --- a/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ -language: generic - -cache: - directories: - - /tmp/texlive - -install: - - export PATH="/tmp/texlive/bin/x86_64-linux:$PATH"; - - | - if ! command -v tlmgr > /dev/null; then - REMOTE="http://mirror.ctan.org/systems/texlive/tlnet"; - INSTALL="/tmp/install-texlive"; - mkdir -p $INSTALL; - curl -sSL $REMOTE/install-tl-unx.tar.gz | tar -xzv -C $INSTALL \ - --strip-components=1; - echo "selected_scheme scheme-basic" >> $INSTALL/tl.profile; - echo "TEXDIR /tmp/texlive" >> $INSTALL/tl.profile; - echo "TEXMFLOCAL /tmp/texlive/texmf-local" >> $INSTALL/tl.profile; - echo "TEXMFSYSCONFIG /tmp/texlive/texmf-config" >> $INSTALL/tl.profile; - echo "TEXMFSYSVAR /tmp/texlive/texmf-var" >> $INSTALL/tl.profile; - echo "tlpdbopt_autobackup 0" >> $INSTALL/tl.profile; - echo "tlpdbopt_install_docfiles 0" >> $INSTALL/tl.profile; - echo "tlpdbopt_install_srcfiles 0" >> $INSTALL/tl.profile; - $INSTALL/install-tl -profile $INSTALL/tl.profile; - fi - - - tlmgr update --self --all −−no−auto−install - - - tlmgr install latexmk l3build - fontname fontspec l3kernel l3packages xetex - cjk ctex environ ms trimspaces ulem xecjk zhnumber - fandol tex-gyre xits - booktabs caption diagbox enumitem eso-pic etoolbox filehook float footmisc - fp multirow notoccite ntheorem pdfpages pict2e unicode-math xcolor zapfding - fontaxes kastrup listings lm metalogo newpx newtx palatino pxfonts thumbpdf - txfonts xkeyval - nomencl - -before_script: - - sed -i 's/\[RawFeature={vertical:}\]{FangSong}/\[Extension=.otf,RawFeature={vertical:}\]{FandolFang-Regular}/' spine.tex - -script: - - make thesis - - make spine - - make doc - - make test diff --git a/testfiles/02-copyright.tlg b/testfiles/02-copyright.tlg index 3d954b77..a5e93172 100644 --- a/testfiles/02-copyright.tlg +++ b/testfiles/02-copyright.tlg @@ -960,5 +960,5 @@ Package rerunfilecheck Warning: File `02-copyright.out' has changed. (rerunfilecheck) Rerun to get outlines right (rerunfilecheck) or use package `bookmark'. Package rerunfilecheck Info: Checksums for `02-copyright.out': -(rerunfilecheck) Before: -(rerunfilecheck) After: D41D8CD98F00B204E9800998ECF8427E. +(rerunfilecheck) Before: +(rerunfilecheck) After: D41D8CD98F00B204E9800998ECF8427E;0.