-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
68 lines (58 loc) · 1.75 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
66
67
68
# .travis.yml
# Configure Travis CI service to build SOCI library, http://github.com/SOCI
#
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
#
# When changing this, search for "xenial" in scripts/ci and update
# references to it there too.
dist: xenial
os: linux
language: cpp
compiler:
- g++
#- clang
services:
- mysql
- postgresql
env:
global:
- secure: "I7/28jg7R24y64426d5XsfILrd/VW0BdwFbNpEgBfW1qNk9GpkNGTvp/ET6hKwBVrW5jmN9QdEviGcPpQRIAlMj6g9GvZeAUxM+VZTcXD2u30REUPPxNTJMRVHPfL9DA7EMFCST8SjBCgMdTHFwqLV4vSQEF4NTXbntley/IPfM="
- SOCI_CI=true
- SOCI_CI_BRANCH=${TRAVIS_BRANCH}
- SOCI_SOURCE_DIR=${TRAVIS_BUILD_DIR}
jobs:
include:
- env: SOCI_CI_BACKEND=db2
- env: SOCI_CI_BACKEND=empty CMAKE_CXX_STANDARD=98 TEST_RELEASE_PACKAGE=YES
- env: SOCI_CI_BACKEND=empty CMAKE_CXX_STANDARD=11
- env: SOCI_CI_BACKEND=firebird
- env: SOCI_CI_BACKEND=mysql
- env: SOCI_CI_BACKEND=odbc
- env: SOCI_CI_BACKEND=postgresql
- env: SOCI_CI_BACKEND=sqlite3
- env: SOCI_CI_BACKEND=valgrind
- env: SOCI_CI_BACKEND=oracle WITH_BOOST=OFF
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
coverity_scan:
project:
name: "SOCI/soci"
notification_email: soci-devel@lists.sourceforge.net
build_command_prepend: "mkdir build.cov; cd build.cov; cmake .."
build_command: "make -j 4"
branch_pattern: coverity_scan
before_install: ./scripts/ci/install.sh
before_script: ./scripts/ci/before_build.sh
script: ./scripts/ci/build.sh && ./scripts/ci/test.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/000781732a3b1637ef82
on_start: always
irc:
channels:
- "irc.freenode.org#soci"