瀏覽代碼

Run pyinstaller in script

Kentaro Wada 6 年之前
父節點
當前提交
252576e98e
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      .travis.yml

+ 10 - 1
.travis.yml

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