Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Commit

Permalink
Add a script to install dependencies for plots.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Sobolev committed Jul 29, 2020
1 parent 49c4b50 commit 3b6cfb2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/scripts/install-plots-dependencies.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

# A script to install plots dependencies

# Set auxiliary variables
# for ANSI escape codes
cyan="\e[1;36m" # Bold cyan
reset="\e[0m" # Reset colors

echo -e "\n${cyan}Installing dvipng...${reset}\n"
sudo apt-get install dvipng

echo -e "\n${cyan}Installing matplotlib...${reset}\n"
pip3 install matplotlib

echo -e "\n${cyan}Installing texlive-latex-extra...${reset}\n"
sudo apt-get install texlive-latex-extra

echo -e "\n${cyan}Installing cm-super...${reset}\n"
sudo apt-get install cm-super
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
arch: amd64
name: "Documentation Build, Julia 1.4 (Linux, x64)"
script:
- bash .github/scripts/install-plots-dependencies.bash
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
Expand Down

0 comments on commit 3b6cfb2

Please sign in to comment.