+# dist: trusty # Ubuntu 14.04
language: python
python: 3.6
branches:
- gh-pages
- /.*/
before_install:
+ - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
+ - echo "deb https://cran.rstudio.com/bin/linux/ubuntu trusty/" | sudo tee -a /etc/apt/sources.list
+ - sudo apt-get update -y
+ - sudo apt-get install -y r-base
+ - sudo Rscript -e "install.packages('knitr', repos = 'https://', dependencies = TRUE)"
+ - sudo Rscript -e "install.packages('stringr', repos = 'https://cran.rstudio.com', dependencies = TRUE)"
+ - sudo Rscript -e "install.packages('checkpoint', repos = 'https://cran.rstudio.com', dependencies = TRUE)"
+ - sudo Rscript -e "install.packages('ggplot2', repos = 'https://cran.rstudio.com', dependencies = TRUE)"
- rvm default
- - gem install json kramdown
+ - gem install json kramdown jekyll
install:
- pip install pyyaml
script:
- - make lesson-check
- make lesson-check-all
+ - make --always-make site
# Set the default layout for things in the episodes collection.
defaults:
- values:
- root: ..
+ root: .
+ layout: page
- scope:
path: ""
type: episodes
values:
+ root: ..
layout: episode
+ - scope:
+ path: ""
+ type: extras
+ values:
+ root: ..
+ layout: page
# Files and directories that are not to be copied.
exclude:
---
-layout: page
title: About
---
-{% include carpentries.html %}
\ No newline at end of file
+{% include carpentries.html %}
---
-layout: page
title: Discussion
---
-FIXME
\ No newline at end of file
+FIXME
---
-layout: page
title: Figures
---
<script>
{% endcomment %}
{% for episode in site.episodes %}
<article id="{{ episode.url }}"></article>
-{% endfor %}
\ No newline at end of file
+{% endfor %}
---
-layout: page
title: "Instructor Notes"
---
-FIXME
\ No newline at end of file
+FIXME
---
-layout: page
-root: .
---
<script>
window.onload = function() {
{% endcomment %}
{% for episode in site.episodes %}
<article id="{{ episode.url }}"></article>
-{% endfor %}
\ No newline at end of file
+{% endfor %}
---
layout: lesson
-root: .
+root: . # Is the only page that don't follow the partner /:path/index.html
permalink: index.html # Is the only page that don't follow the partner /:path/index.html
---
FIXME: home page introduction
> ## Prerequisites
>
> FIXME
-{: .prereq}
\ No newline at end of file
+{: .prereq}
---
layout: reference
-root: .
---
## Glossary
-FIXME
\ No newline at end of file
+FIXME
---
-layout: page
title: Setup
-root: .
---
-FIXME
\ No newline at end of file
+FIXME
def __init__(self):
"""Constructor."""
-
- super(Reporter, self).__init__()
self.messages = []
def check_field(self, filename, name, values, key, expected=REPORTER_NOT_SET):