Merge remote-tracking branch 'upstream/master' into fix-travis

This commit is contained in:
Zachary Klosko 2020-11-18 17:01:43 -05:00
commit a445029203
6 changed files with 18 additions and 29 deletions

1
.gitignore vendored
View file

@ -18,3 +18,4 @@ airtime_mvc/tests/log/*.log
.idea/ .idea/
/docs/_site/* /docs/_site/*
/docs/.jekyll-cache/* /docs/.jekyll-cache/*
/docs/.gems/*

View file

@ -1,4 +1,4 @@
dist: bionic dist: xenial
services: services:
- postgresql - postgresql
@ -23,10 +23,6 @@ addons:
- liquidsoap-plugin-vorbis - liquidsoap-plugin-vorbis
- python3-gst-1.0 - python3-gst-1.0
- silan - silan
- python3-gi
- python3-gi-cairo
- gcc
- gir1.2-gtk-3.0
jobs: jobs:
include: include:

3
Vagrantfile vendored
View file

@ -67,9 +67,6 @@ Vagrant.configure("2") do |config|
# Provision LibreTime # Provision LibreTime
config.vm.provision "install", type: "shell", inline: "cd /vagrant; ./install %s --web-port=8080" % installer_args config.vm.provision "install", type: "shell", inline: "cd /vagrant; ./install %s --web-port=8080" % installer_args
# Provision docs
config.vm.provision "build-site-jekyll", type: "shell", path: "docs/jekyll.sh"
end end
end end

View file

@ -10,8 +10,6 @@ includes_dir: _includes
favicon: favicon.ico favicon: favicon.ico
exclude: ['jekyll.sh'
]
# For splash page layout only # For splash page layout only
headimage: img/header.jpg headimage: img/header.jpg
headtext: Open Source Radio Automation headtext: Open Source Radio Automation

View file

@ -1,18 +0,0 @@
# Installing Jekyll
# This script does not work and exists as a skeleton for
# someone to use to get Jekyll building outside of GitHub
echo "Installing Ruby"
sudo apt-get install ruby-full build-essential zlib1g-dev
export GEM_HOME=".gems"
export PATH=".gems/bin:$PATH"
echo "Installing Jekyll"
cd docs
gem install jekyll bundler
# Running Jekyll
bundle exec jekyll serve --watch --port 8888
echo "Visit http://localhost:8888 to see the LibreTime website."

15
jekyll.sh Normal file
View file

@ -0,0 +1,15 @@
#/bin/bash
echo "Installing Ruby"
apt-get update -y && apt-get install -y ruby-full build-essential zlib1g-dev
export GEM_HOME=".gems"
export PATH=".gems/bin:$PATH"
echo "Installing Jekyll"
cd docs
gem install jekyll bundler
# Running Jekyll
jekyll serve