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

Commit19a5ddf

Browse files
committed
Run test_ptrack_uncommitted_xact several times + try codecov
1 parentfe4ec9b commit19a5ddf

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

‎.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ install:
1212
-docker-compose build
1313

1414
script:
15-
-docker-compose run tests
16-
# - docker-compose run $(bash <(curl -s https://codecov.io/env)) tests
17-
# - docker run -v $(pwd):/tests --rm centos:7 /tests/travis/backup_restore.sh
15+
# - docker-compose run tests
16+
-docker-compose run $(bash <(curl -s https://codecov.io/env)) tests
1817

1918
notifications:
2019
email:
@@ -24,3 +23,4 @@ notifications:
2423
env:
2524
-PG_VERSION=12 PG_BRANCH=REL_12_STABLE
2625
-PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=test_ptrack_multiple_segments TEST_REPEATS=5
26+
-PG_VERSION=12 PG_BRANCH=REL_12_STABLE TEST_CASE=test_ptrack_uncommitted_xact TEST_REPEATS=15

‎run_tests.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ cd ..
5555

5656
# Build and install ptrack extension
5757
echo"############### Compiling and installing ptrack extension"
58-
make USE_PGXS=1 install
58+
make USE_PGXS=1PG_CPPFLAGS="-coverage" SHLIB_LINK="-coverage"install
5959

6060
# Show pg_config path (just in case)
6161
echo"############### pg_config path"
@@ -89,8 +89,11 @@ else
8989
done
9090
fi
9191

92+
# Get back to testdir
93+
cd ..
94+
9295
# Generate *.gcov files
93-
#gcov src/*.c src/*.h
96+
gcov src/*.c src/*.h
9497

9598
# Send coverage stats to Codecov
96-
#bash <(curl -s https://codecov.io/bash)
99+
bash<(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp