kitty/.circleci/config.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

2019-01-25 09:38:07 +03:00
version: 2
2019-01-26 07:08:30 +03:00
2019-01-25 08:32:43 +03:00
jobs:
2019-01-26 07:08:30 +03:00
lin-sys:
2019-01-25 08:32:43 +03:00
docker:
- image: kovidgoyal/kitty-test:latest
steps:
- checkout
2019-01-25 08:38:17 +03:00
- run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi
2019-01-25 11:38:19 +03:00
- run: python3 -m flake8 --count .
- run: python3 setup.py build --debug --verbose
- run: python3 test.py
2019-01-25 12:15:35 +03:00
- run: make FAIL_WARN=-W man
- run: make FAIL_WARN=-W html
- run: python3 setup.py linux-package
2019-01-26 07:08:30 +03:00
lin-35:
docker:
- image: kovidgoyal/kitty-test:latest
2019-01-26 07:45:36 +03:00
environment:
CC: gcc
CFLAGS: -funsigned-char
2019-01-26 07:45:36 +03:00
LD_LIBRARY_PATH: /opt/py3.5/lib
ASAN_OPTIONS: leak_check_at_exit=0
steps:
- checkout
- run: /opt/py3.5/bin/python3 setup.py build --debug --verbose --sanitize
- run: ./asan-launcher test.py
2019-01-26 07:08:30 +03:00
lin-37:
docker:
- image: kovidgoyal/kitty-test:latest
2019-01-26 07:45:36 +03:00
environment:
CC: clang
2019-01-26 07:45:36 +03:00
LD_LIBRARY_PATH: /opt/py3.7/lib
ASAN_OPTIONS: leak_check_at_exit=0
steps:
- checkout
- run: /opt/py3.7/bin/python3 setup.py build --debug --verbose --sanitize
- run: ./asan-launcher test.py
2019-01-25 09:41:28 +03:00
workflows:
version: 2
all_jobs:
jobs:
2019-01-25 12:32:42 +03:00
- lin-sys
- lin-35
- lin-37