Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Commit fe97dd1

Browse files
committed
modified test CI setting
1 parent 5ff2030 commit fe97dd1

File tree

3 files changed

+269
-310
lines changed

3 files changed

+269
-310
lines changed

.travis.yml

Lines changed: 13 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -194,31 +194,31 @@ matrix:
194194
# TravisCI TimeLimit 50min
195195
# clang only(gcc replace clang)
196196
# homebrew pcl use gcc compiler
197-
- name: "Python 2.7.16 on macOS"
197+
- name: "Python 2.7.16 on macOS using homebrew"
198198
os: osx
199199
language: generic # 'language: python' is an error on Travis CI macOS
200200
env:
201201
- PYTHON_VERSION=2.7.16
202202
- PYENV_ROOT=~/.pyenv
203203
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
204204
- NOSEATTR="not pcl_ver_0_4"
205-
- name: "Python 3.5.7 on macOS"
205+
- name: "Python 3.5.7 on macOS using homebrew"
206206
os: osx
207207
language: generic # 'language: python' is an error on Travis CI macOS
208208
env:
209209
- PYTHON_VERSION=3.5.7
210210
- PYENV_ROOT=~/.pyenv
211211
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
212212
- NOSEATTR="not pcl_ver_0_4"
213-
- name: "Python 3.6.8 on macOS"
213+
- name: "Python 3.6.8 on macOS using homebrew"
214214
os: osx
215215
language: generic # 'language: python' is an error on Travis CI macOS
216216
env:
217217
- PYTHON_VERSION=3.6.8
218218
- PYENV_ROOT=~/.pyenv
219219
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
220220
- NOSEATTR="not pcl_ver_0_4"
221-
- name: "Python 3.7.3 on macOS"
221+
- name: "Python 3.7.3 on macOS using homebrew"
222222
os: osx
223223
language: generic # 'language: python' is an error on Travis CI macOS
224224
env:
@@ -240,6 +240,7 @@ before_cache:
240240

241241

242242
# (Mac OSX using pcl 1.9.1 only [homebrew])
243+
# brew install ccache;
243244
# eval "${MATRIX_EVAL}";
244245
# trusty(pcl-1.7.0?)
245246
# sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl -y;
@@ -251,30 +252,20 @@ before_cache:
251252
before_install:
252253
- if [ ${TRAVIS_OS_NAME} = "osx" ]; then
253254
brew update >/dev/null;
254-
brew install ccache;
255255

256-
PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2" pyenv install -ks $PYTHON_VERSION;
256+
pyenv install $PYTHON_VERSION;
257257
pyenv global $PYTHON_VERSION;
258258
python --version;
259259

260-
travis_wait 45 brew install pcl --without-qt;
260+
travis_wait 45 brew install pcl;
261261
fi
262262
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.7" ) && ( "$OS_VERSION" == "xenial") ]]; then
263-
sudo apt -y install git build-essential linux-libc-dev cmake cmake-gui libusb-1.0-0-dev libusb-dev libudev-dev mpi-default-dev openmpi-bin openmpi-common libflann1.8 libflann-dev libeigen3-dev libboost-all-dev libqhull* libgtest-dev freeglut3-dev pkg-config libxmu-dev libxi-dev mono-complete qt-sdk openjdk-8-jdk openjdk-8-jre libproj-dev libglfw3-dev;
264263
sudo apt -y install libpcl-dev;
265264
fi
266265
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.8" ) ]]; then
267-
sudo add-apt-repository -y ppa:webupd8team/java && sudo apt update && sudo apt -y install oracle-java8-installer;
268-
269-
sudo apt-get install zram-config;
270-
271-
sudo apt -y install g++ doxygen mpi-default-dev openmpi-bin openmpi-common libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
272-
sudo apt -y install git-core freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev libphonon-dev libphonon-dev phonon-backend-gstreamer;
273-
sudo apt -y install phonon-backend-vlc graphviz mono-complete qt-sdk libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
274-
275-
wget --no-check-certificate -qO- http://www.cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake-3.6.2-Linux-x86_64.tar.gz;
276-
tar -xvf /tmp/cmake-3.6.2-Linux-x86_64.tar.gz;
277-
export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH;
266+
sudo apt -y install g++ doxygen libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
267+
sudo apt -y install git-core freeglut3-dev pkg-config build-essential
268+
sudo apt -y install libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
278269

279270
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304;
280271
sudo mkswap /swapfile;
@@ -292,17 +283,9 @@ before_install:
292283
cd ../..;
293284
fi
294285
- if [[ ( "$TRAVIS_OS_NAME" == "linux" ) && ( "$PCL_VERSION" == "1.9" ) ]]; then
295-
sudo add-apt-repository -y ppa:webupd8team/java && sudo apt update && sudo apt -y install oracle-java8-installer;
296-
297-
sudo apt-get install zram-config;
298-
299-
sudo apt -y install g++ doxygen mpi-default-dev openmpi-bin openmpi-common libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
300-
sudo apt -y install git-core freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev libphonon-dev libphonon-dev phonon-backend-gstreamer;
301-
sudo apt -y install phonon-backend-vlc graphviz mono-complete qt-sdk libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
302-
303-
wget --no-check-certificate -qO- http://www.cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz -O /tmp/cmake-3.6.2-Linux-x86_64.tar.gz;
304-
tar -xvf /tmp/cmake-3.6.2-Linux-x86_64.tar.gz;
305-
export PATH=$PWD/cmake-3.6.2-Linux-x86_64/bin/:$PATH;
286+
sudo apt -y install g++ doxygen libusb-1.0-0-dev libqhull* libusb-dev libgtest-dev;
287+
sudo apt -y install git-core freeglut3-dev pkg-config build-essential
288+
sudo apt -y install libflann-dev libflann1.8 libboost-all-dev libeigen3-dev;
306289

307290
sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304;
308291
sudo mkswap /swapfile;
@@ -339,30 +322,6 @@ script:
339322
# - nosetests -A "not pcl_ver_0_4 and not pcl_over_18" --with-coverage --cover-erase --cover-package=python-pcl --verbose
340323
- nosetests -A "not pcl_ver_0_4 and not pcl_over_18" --verbose
341324
# - py.test --cov pcl
342-
# examples
343-
# - python examples/GrabberCallbackTest.py
344-
# examples/official
345-
# - python examples/official/grabber/openni_grabber.py
346-
# # examples_command_172.txt
347-
# # Filtering
348-
# - python examples/official/Filtering/PassThroughFilter.py
349-
# - python examples/official/Filtering/project_inliers.py
350-
# - python examples/official/Filtering/remove_outliers.py -r Radius
351-
# - python examples/official/Filtering/remove_outliers.py -r Condition
352-
# - python examples/official/Filtering/VoxelGrid_160.py
353-
# - python examples/official/Filtering/statistical_removal.py
354-
# - python examples/official/IO/pcd_read.py
355-
# # KdTree
356-
# - python examples/official/kdtree/kdtree_search.py
357-
# # keypoints
358-
# # NG(RangeImage Link Error)
359-
# - python examples/official/keypoints/narf_keypoint_extraction.py
360-
# # octree
361-
# - python examples/official/octree/octree_search.py
362-
# - python examples/official/Segmentation/cluster_extraction.py
363-
# - python examples/official/Segmentation/cylinder_segmentation.py
364-
# - python examples/official/surface/concave_hull_2d.py
365-
# - python examples/official/surface/resampling.py
366325

367326
after_success:
368327
# coveralls.io

0 commit comments

Comments
 (0)