代码拉取完成,页面将自动刷新
同步操作将从 Zhong/python-pcl 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# 'sudo' is enabled automatically by the 'apt' addon below.
#sudo: false
#sudo: required
language: python # this works for Linux but is an error on macOS or Windows
# https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems
# https://docs.travis-ci.com/user/reference/trusty#python-images
# https://docs.travis-ci.com/user/reference/xenial#python-support
matrix:
include:
- name: Python 2.7.15 on Xenial Linux use pcl 1.7
dist: xenial
python: '2.7'
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
- build-essential
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=gcc && CXX=g++"
- name: Python 3.5 on Xenial Linux use pcl 1.7
dist: xenial
python: '3.5'
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
- build-essential
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=gcc && CXX=g++"
- name: Python 3.6 on Xenial Linux use pcl 1.7
dist: xenial
python: '3.6'
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
- build-essential
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=gcc && CXX=g++"
- name: Python 3.7.1 on Xenial Linux use pcl 1.7
dist: xenial
python: '3.7'
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
- build-essential
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=gcc && CXX=g++"
# - name: Python 3.7.1 on Xenial Linux use pcl 1.8
# dist: xenial
# python: '3.7'
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - openni2-utils
# env:
# - PCL_VERSION="1.8"
# - OS_VERSION="xenial"
# - NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
# - MATRIX_EVAL="CC=gcc && CXX=g++"
# - name: Python 3.7.1 on Xenial Linux use pcl 1.9
# dist: xenial
# python: '3.7'
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - openni2-utils
# env:
# - PCL_VERSION="1.9"
# - OS_VERSION="xenial"
# - NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
# - MATRIX_EVAL="CC=gcc && CXX=g++"
- name: Python 2.7.15 on Xenial Linux use pcl 1.7(clang)
dist: xenial
python: '2.7'
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=clang && CXX=clang++"
- name: Python 3.5 on Xenial Linux use pcl 1.7(clang)
dist: xenial
python: '3.5'
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=clang && CXX=clang++"
- name: Python 3.6 on Xenial Linux use pcl 1.7(clang)
dist: xenial
python: '3.6'
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=clang && CXX=clang++"
- name: Python 3.7 on Xenial Linux use pcl 1.7(clang)
dist: xenial
python: '3.7'
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- openni2-utils
env:
- PCL_VERSION="1.7"
- OS_VERSION="xenial"
- NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
- MATRIX_EVAL="CC=clang && CXX=clang++"
# - name: Python 3.7 on Xenial Linux use pcl 1.8(clang)
# dist: xenial
# python: '3.7'
# compiler: clang
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - openni2-utils
# env:
# - PCL_VERSION="1.8"
# - OS_VERSION="xenial"
# - NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
# - MATRIX_EVAL="CC=clang && CXX=clang++"
# - name: Python 3.7 on Xenial Linux use pcl 1.9(clang)
# dist: xenial
# python: '3.7'
# compiler: clang
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - openni2-utils
# env:
# - PCL_VERSION="1.9"
# - OS_VERSION="xenial"
# - NOSEATTR="not pcl_ver_0_4 and not pcl_over_18"
# - MATRIX_EVAL="CC=clang && CXX=clang++"
- name: Python 2.7.16 on macOS using homebrew
os: osx
language: generic
env:
- PYTHON_VERSION=2.7.16
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- NOSEATTR="not pcl_ver_0_4"
- name: Python 3.5.7 on macOS using homebrew
os: osx
language: generic
env:
- PYTHON_VERSION=3.5.7
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- NOSEATTR="not pcl_ver_0_4"
- name: Python 3.6.8 on macOS using homebrew
os: osx
language: generic
env:
- PYTHON_VERSION=3.6.8
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- NOSEATTR="not pcl_ver_0_4"
- name: Python 3.7.3 on macOS using homebrew
os: osx
language: generic
env:
- PYTHON_VERSION=3.7.3
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- NOSEATTR="not pcl_ver_0_4"
cache:
- pip
- ccache
before_cache:
- brew cleanup
before_install:
- if [ ${TRAVIS_OS_NAME} = "osx" ]; then
brew update >/dev/null;
pyenv install $PYTHON_VERSION;
pyenv global $PYTHON_VERSION;
python --version;
travis_wait 45 brew install pcl;
fi
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.7" ) && ( "$OS_VERSION" == "xenial") ]]; then
sudo apt -y install libpcl-dev;
fi
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.8" ) ]]; then
sudo apt -y install g++ doxygen libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
sudo apt -y install git-core freeglut3-dev pkg-config build-essential
sudo apt -y install libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304;
sudo mkswap /swapfile;
sudo swapon /swapfile;
sudo apt-get install ninja-build;
wget https://github.com/PointCloudLibrary/pcl/archive/pcl-1.8.1.tar.gz;
tar -xf pcl-1.8.1.tar.gz;
cd pcl-pcl-1.8.1 && mkdir build && cd build;
cmake -G Ninja -DWITH_OPENGL:BOOL=OFF -DWITH_FZAPI:BOOL=OFF -DWITH_LIBUSB:BOOL=OFF -DWITH_VTK:BOOL=OFF -DBUILD_OPENNI:BOOL=OFF -DBUILD_OPENNI2:BOOL=OFF -DBUILD_apps:BOOL=OFF -DBUILD_geometry:BOOL=OFF -DBUILD_global_tests:BOOL=OFF -DBUILD_outofcore:BOOL=OFF -DBUILD_people:BOOL=OFF -DBUILD_tools:BOOL=OFF -DBUILD_tracking:BOOL=OFF -DBUILD_visualization:BOOL=OFF -DBUILD_examples:BOOL=OFF ..;
travis_wait 50 ninja -j4;
sudo ninja -t targets install;
cd ../..;
fi
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.9" ) ]]; then
sudo apt -y install g++ doxygen libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
sudo apt -y install git-core freeglut3-dev pkg-config build-essential
sudo apt -y install libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304;
sudo mkswap /swapfile;
sudo swapon /swapfile;
sudo apt-get install ninja-build;
wget https://github.com/PointCloudLibrary/pcl/archive/pcl-1.9.1.tar.gz;
tar -xf pcl-1.9.1.tar.gz;
cd pcl-1.9.1 && mkdir build && cd build;
cmake -G Ninja -DWITH_OPENGL:BOOL=OFF -DWITH_FZAPI:BOOL=OFF -DWITH_LIBUSB:BOOL=OFF -DWITH_VTK:BOOL=OFF -DBUILD_OPENNI:BOOL=OFF -DBUILD_OPENNI2:BOOL=OFF -DBUILD_apps:BOOL=OFF -DBUILD_geometry:BOOL=OFF -DBUILD_global_tests:BOOL=OFF -DBUILD_outofcore:BOOL=OFF -DBUILD_people:BOOL=OFF -DBUILD_tools:BOOL=OFF -DBUILD_tracking:BOOL=OFF -DBUILD_visualization:BOOL=OFF -DBUILD_examples:BOOL=OFF ..;
travis_wait 50 ninja -j4;
sudo ninja -t targets install;
cd ../..;
fi
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install wheel
- pip install twine
- pip install nose
# coveralls
- pip install pytest
- pip install coveralls
- python setup.py build_ext -i
- python setup.py install
# - python setup.py sdist bdist_wheel
# - twine upload dist/*
# command to run tests
script:
# - coverage run --parallel-mode tests/test_pcl.py
# - coverage run --parallel-mode tests/test_registration.py
# - nosetests -A "$NOSEATTR" --with-coverage --cover-erase --cover-package=python-pcl --verbose
# - nosetests -A "not pcl_ver_0_4 and not pcl_over_18" --with-coverage --cover-erase --cover-package=python-pcl --verbose
- nosetests -A "not pcl_ver_0_4 and not pcl_over_18" --verbose
after_success:
# coveralls.io
- coverage combine
- coveralls
# deploy:
# provider: pypi
# user: sirokujira
# password:
# secure: zz1i5hJ9zdXZ+WryKx5PrughDzlJqClAAeEaVgyEQ/almoYkJANWUDW/MbI/Lf39lvhVWwhU7eSai/wPAxasNTSb9L60IFAfqmLDVYzgi2oqBnVrG2la5RDM0ccObwYlmnEjP+08S/R+049kHSEtsu2dszt2Mmko4EUvyzdO5TqYum6pNmB/8XZYRaVVNixva4C76aYDfJ3yfOyJl/pUQoPS3T0u/DWzAJuTgzMS0SRwtEFsno3BK1cRW8cpUThF8/LWGX6Q4C0pReGi4II8bZtlgggrqDZNEszXyGxEbyIvJM7BkxB6uu6AFQtro5ciR3mwSlx5++3KZ6rb9R6nON1HqtrCBiX1TNcBvB7qpYl0hRnAjpDaBmLvK8l74py0sKqb5kpxHUCQ2N24OlVGGf6zC26AuLuJjmq4t9z8A3C9RG+OV0nznY68EsbgHF0pVNbp/TNpfmGG4pXG23exHkFz+kirQGMe4BcQGMIzc1ULpmdu/iaM47BzvsKW18BYT1PY3EkqDWjNR83aFV/YI52L+jzxSkE+GVfkDqARRlP63dE5tfio4+wE84gNgiZwh/zCpBO+Kf4jPDSG2smfHnFQL37COxoLF4R3sUFlY/oUCaXNSuIeLrTtIVk12MzYWZIVm5IxjVUlJIzMJVY7ilexS8MzZgK4lwnpWNFwxyc=
# on:
# # test
# branch: rc_patches4
# # skip_existing: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。