forked from CloudCompare/CloudCompare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (64 loc) · 1.77 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
sudo: required
dist: xenial
group: deprecated-2017Q2
cache: ccache
language: cpp
compiler:
- clang
- gcc
install:
- sudo apt-get update -qq
- sudo apt-get install -qy cmake
libgdal-dev libfreenect-dev
libeigen3-dev libqt5svg5-dev libtbb-dev
libavcodec-dev libavformat-dev libavutil-dev libboost-thread-dev
libboost-program-options-dev libcgal-dev libcgal-qt5-dev
libdlib-dev libswscale-dev libtbb-dev
libqt5opengl5-dev qt5-default qttools5-dev qttools5-dev-tools
libproj-dev libdlib-dev
- git submodule init && git submodule update
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release
-DQT5_ROOT_PATH=/opt/qt55
-DEIGEN_ROOT_DIR=/usr/include/eigen3
-DCOMPILE_CC_CORE_LIB_WITH_TBB=ON
-DOPTION_USE_DXF_LIB=ON
-DOPTION_USE_SHAPE_LIB=ON
-DINSTALL_EXAMPLE_PLUGIN=ON
-DINSTALL_EXAMPLE_GL_PLUGIN=ON
-DINSTALL_EXAMPLE_IO_PLUGIN=ON
-DINSTALL_QADDITIONAL_IO_PLUGIN=ON
-DINSTALL_QANIMATION_PLUGIN=ON
-DINSTALL_QBROOM_PLUGIN=ON
-DINSTALL_QCOMPASS_PLUGIN=ON
-DINSTALL_QCANUPO_PLUGIN=ON
-DDLIB_ROOT=/usr/include
-DINSTALL_QCSF_PLUGIN=ON
-DINSTALL_QEDL_PLUGIN=ON
-DINSTALL_QFACETS_PLUGIN=ON
-DINSTALL_QHOUGH_NORMALS_PLUGIN=ON
-DINSTALL_QHPR_PLUGIN=ON
-DINSTALL_QM3C2_PLUGIN=ON
-DINSTALL_QPCV_PLUGIN=ON
-DINSTALL_QPHOTOSCAN_IO_PLUGIN=ON
-DINSTALL_QPOISSON_RECON_PLUGIN=ON
-DINSTALL_QSRA_PLUGIN=ON
-DINSTALL_QSSAO_PLUGIN=ON
..
script:
- if [[ $TRAVIS_BRANCH != "beta_builds" ]]; then make -j2; fi
- cd ..
after_success:
- openssl aes-256-cbc -K $encrypted_d04fcf964026_key -iv $encrypted_d04fcf964026_iv
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
services:
- docker
deploy:
on:
branch: beta_builds
condition: "$CC = gcc"
provider: script
script: scripts/linux/snap_deploy.sh $(pwd)
skip_cleanup: true