sudo: true
dist: trusty
language: bash

general:
  branches:
    only:
      - ci_setup


before_install:
  - PROJECTDIR=$(pwd)
  - cd /tmp && wget http://ftp.fau.de/ctan/systems/texlive/tlnet/install-tl-unx.tar.gz
  - tar -xvzf install-tl-unx.tar.gz
  - cd install-tl-*
  - chmod +x install-tl
  - sudo ./install-tl --profile=$PROJECTDIR/texlive.profile
  - PATH=/usr/local/texlive/2017/bin/x86_64-linux:$PATH
  - pdflatex -v
  - cd $PROJECTDIR

script:
  - bash tests/testall.sh
