提交 5dcf987c 编写于 作者: K Kentaro Wada

Run pyinstaller in script

上级 ad4e8198
......@@ -65,6 +65,7 @@ matrix:
- RUN_PYINSTALLER=true
install:
# Setup X
- |
if [ $TRAVIS_OS_NAME = "linux" ]; then
sudo apt-get update
......@@ -86,8 +87,13 @@ before_script:
- sleep 1
script:
# Run flake8
- flake8 examples labelme setup.py tests
# Run pytest
- pytest -v tests
# Test labelme executable
- labelme --help
- labelme --version
- (cd examples/primitives && labelme_json_to_dataset primitives.json && rm -rf primitives_json)
......@@ -97,7 +103,7 @@ script:
- (cd examples/instance_segmentation && rm -rf data_dataset_voc && ./labelme2voc.py labels.txt data_annotated data_dataset_voc && git checkout -- .)
- (cd examples/video_annotation && rm -rf data_dataset_voc && ./labelme2voc.py labels.txt data_annotated data_dataset_voc && git checkout -- .)
after_script:
# Run pyinstaller
- |
if [ "$RUN_PYINSTALLER" = "true" ]; then
# Cleanup
......@@ -135,3 +141,6 @@ deploy:
on:
tags: true
repo: wkentaro/labelme
after_script:
- true # noop
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册