未验证 提交 9183783d 编写于 作者: J Jeff Wang 提交者: GitHub

Fix failing Python3 tests (#398)

上级 e84e5be2
...@@ -19,6 +19,7 @@ os: ...@@ -19,6 +19,7 @@ os:
env: env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=check_style" - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=check_style"
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=test" - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=test"
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=test_python3"
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=build_doc" - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && JOB=build_doc"
addons: addons:
...@@ -53,6 +54,7 @@ before_install: ...@@ -53,6 +54,7 @@ before_install:
script: script:
- if [[ "$JOB" == "check_style" ]]; then ./scripts/check_style.sh; fi - if [[ "$JOB" == "check_style" ]]; then ./scripts/check_style.sh; fi
- if [[ "$JOB" == "test" ]]; then ./scripts/tests.sh all; fi - if [[ "$JOB" == "test" ]]; then ./scripts/tests.sh all; fi
- if [[ "$JOB" == "test_python3" ]]; then WITH_PYTHON3=ON ./scripts/tests.sh all; fi
- if [[ "$JOB" == "build_doc" ]]; then ./scripts/deploy_docs_on_travis.sh; fi; - if [[ "$JOB" == "build_doc" ]]; then ./scripts/deploy_docs_on_travis.sh; fi;
notifications: notifications:
......
...@@ -35,7 +35,7 @@ fi ...@@ -35,7 +35,7 @@ fi
$sudo $pip install numpy $sudo $pip install numpy
$sudo $pip install Flask $sudo $pip install Flask
$sudo $pip install Pillow $sudo $pip install Pillow
$sudo $pip install six $sudo $pip install --ignore-installed six
$sudo $pip install protobuf $sudo $pip install protobuf
export PYTHONPATH="${core_path}:${python_path}" export PYTHONPATH="${core_path}:${python_path}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册