forked from CSCfi/csc-user-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (40 loc) · 1.17 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
---
sudo: false
dist: bionic
addons:
apt:
packages:
- aspell
- aspell-en
- python3
- python3-pip
- python3-setuptools
before_install:
- pip3 install --user wheel
- pip3 install --user --requirement requirements.txt
- go get github.com/client9/misspell/cmd/misspell
install:
# - pip install --upgrade pip
script:
# Checks all files for commonly misspelled English words with client9's misspell
- bash tests/misspell.bash
# Testing if the build works
- bash tests/checkbuild.bash
#Testing link related things
# Broken site and section links, hidden files
- python3 tests/python_link_tests/link_check.py
# Test if any http urls point to docs.csc.fi
- bash tests/check_internal_url.sh
# Testing style-guide and slurm erros
# Valid slurm commands
- bash tests/check_commands.sh
# Valid partitions
- bash tests/check_partitions.sh
# Dont set mail on by default
- bash tests/check_mail_commands.sh
# Use long slurm flags
- bash tests/check_long_slurm_flags.sh
# There should be no FIXME entires present
- bash tests/check_fixme.sh
# Test that no files are masked by folder/index.md
- bash tests/check_masked.sh