Make the container more like CircleCI official images. Install the kitty bundle in it. Run sanitizer and multi-python tests.
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
version: 2
|
|
jobs:
|
|
lin-sys:
|
|
docker:
|
|
- image: kovidgoyal/kitty-test:latest
|
|
steps:
|
|
- checkout
|
|
- run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi
|
|
- run: python3 -m flake8 --count .
|
|
- run: python3 setup.py build --debug --verbose
|
|
- run: python3 test.py
|
|
- run: make FAIL_WARN=-W man
|
|
- run: make FAIL_WARN=-W html
|
|
- run: python3 setup.py linux-package
|
|
lin-35:
|
|
docker:
|
|
- image: kovidgoyal/kitty-test:latest
|
|
environ:
|
|
CC: gcc
|
|
CFLAGS: -funsigned-char
|
|
steps:
|
|
- checkout
|
|
- run: /opt/py3.5/bin/python3 setup.py build --debug --verbose --sanitize
|
|
- run: ./asan-launcher test.py
|
|
lin-37:
|
|
docker:
|
|
- image: kovidgoyal/kitty-test:latest
|
|
environ:
|
|
CC: clang
|
|
steps:
|
|
- checkout
|
|
- run: /opt/py3.7/bin/python3 setup.py build --debug --verbose --sanitize
|
|
- run: ./asan-launcher test.py
|
|
|
|
|
|
workflows:
|
|
version: 2
|
|
all_jobs:
|
|
jobs:
|
|
- lin-sys
|
|
- lin-35
|
|
- lin-37
|