Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4207356

Browse files
committed
Fix travis CI config scripts
1 parent016314d commit4207356

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

‎.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ notifications:
2121
on_failure:always
2222

2323
env:
24-
-PG_VERSION=11 LEVEL=hardcore
24+
-PG_VERSION=14
25+
-PG_VERSION=14 LEVEL=hardcore
26+
-PG_VERSION=13
27+
-PG_VERSION=13 LEVEL=hardcore
28+
-PG_VERSION=12
29+
-PG_VERSION=12 LEVEL=hardcore
2530
-PG_VERSION=11
31+
-PG_VERSION=11 LEVEL=hardcore
2632
-PG_VERSION=10
27-
-PG_VERSION=9.6
33+
-PG_VERSION=10 LEVEL=hardcore

‎travis/Dockerfile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FROM postgres:${PG_VERSION}-alpine
22

33
# Install dependencies
44
RUN apk add --no-cache \
5+
linux-headers \
56
openssl curl \
67
perl perl-ipc-run \
78
make musl-dev gcc bison flex coreutils \

‎travis/run_tests.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if [ "$LEVEL" = "hardcore" ]; then
3636

3737
# enable additional options
3838
./configure \
39-
CFLAGS='-O0 -ggdb3 -fno-omit-frame-pointer' \
39+
CFLAGS='-fno-omit-frame-pointer' \
4040
--enable-cassert \
4141
--prefix=$CUSTOM_PG_BIN \
4242
--quiet
@@ -62,7 +62,10 @@ pg_config
6262
if ["$LEVEL"="hardcore" ];then
6363

6464
# perform static analyzis
65-
scan-build --status-bugs make USE_PGXS=1|| status=$?
65+
scan-build --status-bugs \
66+
-disable-checker core.UndefinedBinaryOperatorResult \
67+
-disable-checker deadcode.DeadStores \
68+
make USE_PGXS=1|| status=$?
6669

6770
# something's wrong, exit now!
6871
if [$status-ne 0 ];thenexit 1;fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp