|
@@ -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
|