forked from greenplum-db/gpdb-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
103 lines (88 loc) · 2.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
## ======================================================================
## ____ ____ ____ ____ ____
## / ___| _ \| _ \| __ ) / ___|_ _ _ __ _ __ _ _
## | | _| |_) | | | | _ \ | | _| | | | '_ \| '_ \| | | |
## | |_| | __/| |_| | |_) | | |_| | |_| | | | | | | | |_| |
## \____|_| |____/|____/ \____|\__,_|_| |_|_| |_|\__, |
## |___/
## ----------------------------------------------------------------------
## Travis CI build script for GPDB Open Source Project.
##
## Reference:
## o Travis CI Docs: http://docs.travis-ci.com
## ----------------------------------------------------------------------
##
## This project builds the core Greenplum Database Open Source
## project.
##
## ======================================================================
os:
- linux
language: c
sudo: false
cache: ccache
git:
submodules: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libevent-dev
- libperl-dev
- g++-6
- python-dev
- python-yaml
- libsnmp-dev
- libapr1-dev
## ----------------------------------------------------------------------
## Build tools
## ----------------------------------------------------------------------
compiler:
- gcc-6
python:
- "2.7"
## ----------------------------------------------------------------------
## Install supporting Python modules
## ----------------------------------------------------------------------
install:
- pip install --user --upgrade pip
- pip install --user --pre psutil
- pip install --user lockfile
- pip install --user paramiko
- pip install --user setuptools
env:
- CC=gcc-6
CXX=g++-6
## ----------------------------------------------------------------------
## Perform build:
## GPDB
## orafce
## ----------------------------------------------------------------------
script:
- cd ${TRAVIS_BUILD_DIR}
- ./configure --with-openssl --with-ldap --with-libcurl --prefix=${TRAVIS_BUILD_DIR}/gpsql --disable-orca --disable-gpcloud --enable-pxf --enable-mapreduce --with-perl --enable-snmp
- make
- make install
- source ${TRAVIS_BUILD_DIR}/gpsql/greenplum_path.sh
- cd ${TRAVIS_BUILD_DIR}/gpAux/extensions/orafce
- make install USE_PGXS=1
- cd ${TRAVIS_BUILD_DIR}/
- make unittest-check
- postgres --version
- initdb --version
- createdb --version
- psql --version
- gpssh --version
- gpmapreduce --version
- gpfdist --version
## ----------------------------------------------------------------------
## Notification
## ----------------------------------------------------------------------
notifications:
email:
recipients:
on_success: change
on_failure: always
after_script: ccache -s