forked from storm-ptr/bark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 954 Bytes
/
.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
language: cpp
if: tag IS present
sudo: true
dist: focal
git:
depth: 1
services:
- mysql
matrix:
include:
- os: linux
addons:
apt:
sources:
- sourceline: ppa:beineri/opt-qt-5.15.2-focal
- sourceline: ppa:ubuntugis/ubuntugis-unstable
packages:
- g++
- libboost-dev
- libgdal-dev
- libgl1-mesa-dev
- qt515base
- qt515imageformats
- doxygen
install:
- source /opt/qt515/bin/qt515-env.sh
script:
- wget -P $TRAVIS_BUILD_DIR/.. https://github.com/catchorg/Catch2/releases/download/v2.13.3/catch.hpp
- cd $TRAVIS_BUILD_DIR/test
- export CXXFLAGS="-DBARK_TEST_MYSQL_SERVER=localhost -DBARK_TEST_DATABASE_PWD="
- make -f ./makefile.ubuntu test
- cd $TRAVIS_BUILD_DIR/example/nanogis
- qmake
- make
- cd $TRAVIS_BUILD_DIR
- doxygen Doxyfile
deploy:
- provider: pages
skip_cleanup: true
local_dir: html
github_token: $GH_REPO_TOKEN
on:
tags: true