-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (53 loc) · 1.3 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
48
49
50
51
52
53
54
55
56
57
branches: master
language: minimal
git: { submodules: false }
jobs:
include:
- stage: "Lint"
name: "General Lints"
script:
- "! git grep -n '^<<<<<<< '" # Check for Git conflict markers
- name: "Python Lints"
language: python
python: 3.8
cache: pip
install:
- >-
pip install --disable-pip-version-check
black flake8 flake8-import-order
script:
- flake8 kuma docs tests
- black --check --diff kuma docs tests
- name: "JavaScript Lints"
language: node_js
node_js: 12
cache: npm
script:
- scripts/ci-jslint
- scripts/ci-flow
- stage: "Test"
name: "Documentation Build"
language: python
python: 3.8
cache: pip
install:
- pip install -r docs/requirements.txt
script:
- sphinx-build -b html -d doctrees docs html
- name: "Dockerized Tests"
services: docker
git: { submodules: true }
env:
UID=0
DOCKER_COMPOSE_VERSION=1.23.2
cache:
directories:
- downloads
- build
- static
script:
- set -e
- scripts/ci-python
- scripts/ci-jest
- scripts/ci-localerefresh
- bash <(curl -s https://codecov.io/bash)