forked from softcover/softcover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
19 lines (17 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rvm:
- "2.6.1"
before_install:
- gem install -v 2.1.4 bundler
- sudo apt-get update -qq
- sudo apt-get install -qy cabextract xfonts-utils
- wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
- sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
- sudo apt-get install -qy --no-install-recommends texlive-full texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra fonts-gfs-bodoni-classic
- sudo apt-get install -qq inkscape ghostscript
- sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh
- export PATH=$PATH:`echo ~`
- curl -O -L https://github.com/IDPF/epubcheck/releases/download/v4.2.2/epubcheck-4.2.2.zip && unzip epubcheck-4.2.2.zip -d ~
- wget https://softcover-static.s3.amazonaws.com/Bodoni%2072%20Smallcaps%20Book.ttf && sudo cp 'Bodoni 72 Smallcaps Book.ttf' /usr/share/fonts/truetype/bodoni-classic
- sudo fc-cache -fsv
# - gem i softcover && softcover check # NOTE: enable to troubleshoot tex, gs, calibre, epubcheck, issus
script: "bundle exec rspec -f d"