-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (40 loc) · 2.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: scala
dist: xenial
jdk: openjdk8
python:
- "3.6"
scala:
- 2.12.8
before_install:
- export INSTALLFOLDER="$(readlink -f $PWD)"
- cd /tmp
- wget https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-1-amd64.deb
- sudo dpkg -i pandoc*.deb
- sudo ln -s "$(which pandoc)" "$(which pandoc)2"
- wget https://downloads.lightbend.com/scala/2.12.8/scala-2.12.8.deb
- sudo dpkg -i scala*.deb
- sudo apt-get install tree
# Latex installs.
- sudo apt-get install texlive-xetex
- sudo apt-get install lmodern
- sudo apt-get install fonts-texgyre gettext gettext-base latex-cjk-all latex-cjk-chinese latex-cjk-chinese-arphic-bkai00mp latex-cjk-chinese-arphic-bsmi00lp latex-cjk-chinese-arphic-gbsn00lp latex-cjk-chinese-arphic-gkai00mp latex-cjk-common latex-cjk-japanese latex-cjk-japanese-wadalab latex-cjk-korean latex-cjk-thai libdjvulibre-text libexttextcat-2.0-0 libexttextcat-data libgettextpo-dev libgettextpo0 libkf5textwidgets-data libkf5textwidgets5 liblocale-gettext-perl libptexenc1 libsynctex1 libtexlua52 libtexluajit2 libtext-charwidth-perl libtext-iconv-perl libtext-template-perl libtext-unidecode-perl libtext-wrapi18n-perl plymouth-theme-lubuntu-text plymouth-theme-ubuntu-text preview-latex-style tex-common tex-gyre texinfo texlive-base texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-extra texlive-generic-recommended texlive-lang-african texlive-lang-all texlive-lang-arabic texlive-lang-chinese texlive-lang-cjk texlive-lang-cyrillic texlive-lang-czechslovak texlive-lang-english texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-greek texlive-lang-indic texlive-lang-italian texlive-lang-japanese texlive-lang-korean texlive-lang-other texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-luatex texlive-math-extra texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc texlive-xetex
# Font:
- mkdir -p $HOME/.fonts/
- cd $HOME/.fonts
- wget https://fontlibrary.org/assets/downloads/xb-niloofar/443e92a9b431497a28b6d9e7d1384c40/xb-niloofar.zip
- unzip *.zip
- cd $HOME
# Install scala_script.
- cd "$INSTALLFOLDER"
- sudo cp ./other/bin/scala_script /usr/local/bin/
- sudo chmod a+x /usr/local/bin/scala_script
# Install https://github.com/fmv1992/scala_cli_parser.git dependency.
- cd $(mktemp -d) && git clone https://github.com/fmv1992/scala_cli_parser.git && cd scala_cli_parser && git checkout 7bdc9de && make publishlocal
script:
- make
- make test
- make coverage
after_success:
- export CODECOV_TOKEN="9b31d978-0d90-4398-969c-e6e9a6ec3c90"
- bash <(curl -s https://codecov.io/bash)
# vim: set filetype=yaml fileformat=unix nowrap: