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
|
|
|
|
2019-01-25 12:32:05 +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
|
|
|
|
2019-01-26 06:34:29 +03:00
|
|
|
lin-35:
|
|
|
|
docker:
|
|
|
|
- image: kovidgoyal/kitty-test:latest
|
2019-01-26 07:45:36 +03:00
|
|
|
environment:
|
2019-01-26 06:34:29 +03:00
|
|
|
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
|
2019-01-26 06:34:29 +03:00
|
|
|
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
|
|
|
|
2019-01-26 06:34:29 +03:00
|
|
|
lin-37:
|
|
|
|
docker:
|
|
|
|
- image: kovidgoyal/kitty-test:latest
|
2019-01-26 07:45:36 +03:00
|
|
|
environment:
|
2019-01-26 06:34:29 +03:00
|
|
|
CC: clang
|
2019-01-26 07:45:36 +03:00
|
|
|
LD_LIBRARY_PATH: /opt/py3.7/lib
|
|
|
|
ASAN_OPTIONS: leak_check_at_exit=0
|
2019-01-26 06:34:29 +03:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: /opt/py3.7/bin/python3 setup.py build --debug --verbose --sanitize
|
|
|
|
- run: ./asan-launcher test.py
|
|
|
|
|
2019-01-26 09:23:15 +03:00
|
|
|
lin-bundle:
|
|
|
|
docker:
|
|
|
|
- image: kovidgoyal/kitty-test:latest
|
|
|
|
environment:
|
|
|
|
ASAN_OPTIONS: leak_check_at_exit=0
|
|
|
|
steps:
|
|
|
|
- checkout
|
2019-01-26 10:21:17 +03:00
|
|
|
- run: echo "export LD_LIBRARY_PATH=$SW/lib" >> $BASH_ENV
|
|
|
|
- run: echo "export PKG_CONFIG_PATH=$SW/lib/pkgconfig" >> $BASH_ENV
|
2019-01-26 09:23:15 +03:00
|
|
|
- run: $SW/bin/python3 setup.py build --debug --verbose
|
|
|
|
- run: $SW/bin/python3 test.py
|
2019-01-26 09:21:23 +03:00
|
|
|
|
2019-01-26 12:01:33 +03:00
|
|
|
mac-bundle:
|
|
|
|
macos:
|
|
|
|
xcode: "10.1.0"
|
|
|
|
environment:
|
|
|
|
LC_ALL: en_US.UTF-8
|
|
|
|
LANG: en_US.UTF-8
|
|
|
|
SW: /Users/Shared/buildbot/sw/sw
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: mkdir -p $SW
|
|
|
|
- run: curl https://download.calibre-ebook.com/travis/kitty/osx.tar.xz | tar xJ -C $SW
|
|
|
|
- run: echo "export PATH=$SW/bin:$PATH" >> $BASH_ENV
|
|
|
|
- run: python3 setup.py build --debug --verbose
|
|
|
|
- run: python3 test.py
|
2019-01-26 12:00:10 +03:00
|
|
|
|
2019-01-27 06:51:02 +03:00
|
|
|
mac-brew:
|
|
|
|
macos:
|
|
|
|
xcode: "10.1.0"
|
|
|
|
environment:
|
|
|
|
LC_ALL: en_US.UTF-8
|
|
|
|
LANG: en_US.UTF-8
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: brew bundle
|
|
|
|
- run: python3 logo/make.py
|
|
|
|
- run: python3 setup.py build --debug --verbose
|
|
|
|
- run: python3 test.py
|
|
|
|
- run: python3 setup.py osx-bundle
|
|
|
|
|
2019-01-25 09:41:28 +03:00
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
all_jobs:
|
|
|
|
jobs:
|
2019-01-27 05:46:46 +03:00
|
|
|
- mac-bundle
|
2019-01-25 12:32:42 +03:00
|
|
|
- lin-sys
|
2019-01-26 06:34:29 +03:00
|
|
|
- lin-35
|
|
|
|
- lin-37
|
2019-01-26 09:21:23 +03:00
|
|
|
- lin-bundle
|
2019-01-27 06:51:02 +03:00
|
|
|
- mac-brew
|