-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
47 lines (42 loc) · 1.07 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
before_install:
- sudo apt-get update -y
- sudo apt-get install libgit2-dev libudunits2-dev automake
- sudo apt-get install python3-setuptools python3-pip
- rvm install 2.5.3
- rvm 2.5.3 do ruby -S gem install bundle
- R -q -e 'install.packages(c("remotes", "curl"))'
- R -q -e 'remotes::install_github("hadley/requirements")'
install:
- sudo -H pip3 install --upgrade pyyaml
script:
- bundle install
- make lesson-check-all
- make --always-make site
# Header
language: r
sudo: false
cache: packages
latex: false
branches:
only:
- gh-pages
- /.*/
#env
env:
global:
- _R_CHECK_FORCE_SUGGESTS_=false
#- MAKEFLAGS="-j 2"
# Add spellchecking for PRs
jobs:
include:
- stage: spelling
language: python
sudo: true
python: "3.6"
# The default before_install step is slow
before_install:
# Use codespell for spell checking
install:
sudo pip install codespell
script: codespell --skip="assets,fig,*.svg,AUTHORS,.mailmap" --quiet-level=2 --ignore-words-list="rouge,keyserver"
- stage: check_and_build