-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
37 lines (32 loc) · 904 Bytes
/
.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
# Travis-CI config for https://github.com/hpc-carpentry/hpc-chapel
# Results at https://travis-ci.org/github/hpc-carpentry/hpc-chapel
dist: xenial
language: python
python: 3.7
branches:
only:
- gh-pages
- /.*/
before_install:
install:
script:
jobs:
include:
- stage: "Check for typos and spelling mistakes"
before_install: # Don't need everything to build the site
install:
pip install codespell
script:
codespell --skip="assets,*.svg,bin" --quiet-level=2 -L "rouge,dropse,namd,hist"
- stage: "Build the site"
before_install:
- sudo apt-get update -y
- rvm default
- gem install bundler jekyll json kramdown
- bundle config build.nokogiri --use-system-libraries
- bundle install
install:
pip install pyyaml
script:
- make lesson-check-all
- make --always-make site