-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.travis.yml
64 lines (56 loc) · 1.48 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
language: c++
dist: trusty
compiler: g++
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
#- gcc-9
#- g++-9
# - qtbase5-dev
# - libqt5opengl5-dev
- libboost-dev
- libboost-regex-dev
- libboost-system-dev
- libboost-program-options-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libeigen3-dev
- libmysqlclient-dev
- libmysql++-dev
- libsqlite3-dev
- liblog4cpp5-dev
- libgdal-dev
- libarchive-dev
- libtbb-dev
compiler:
- gcc
# - clang
before_install:
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
- wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo add-apt-repository -y ppa:beineri/opt-qt592-trusty
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get -q update
install:
- sudo apt-get --only-upgrade install libgdal-dev
#qt
- sudo apt-get install qt59base qt59charts-no-lgpl # see https://launchpad.net/~beineri/+archive/ubuntu/opt-qt592-trusty
- source /opt/qt59/bin/qt59-env.sh
# NemaTode install
- wget https://github.com/ckgt/NemaTode/archive/master.zip
- unzip master.zip
- mkdir NemaTode-master/build
- cd NemaTode-master/build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. && make && sudo make install
- cd ../..
script:
#- export CC=gcc-9
#- export CXX=g++-9
#build
- mkdir build
- cd build
- cmake ..
- cmake --build . -- -j2