Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 791e9b3

Browse files
committed
Reorder travis tests
1 parent e79a57b commit 791e9b3

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Overview
88

9-
Ptrack is a fast block-level incremental backup engine for PostgreSQL. Currently `ptrack` codebase is split between small PostgreSQL core patch and extension. All public SQL API methods and main engine are placed in the `ptrack` extension, while the core patch contains only certain hooks and modifies binary utilities to ignore `ptrack.map.*` files.
9+
Ptrack is a block-level incremental backup engine for PostgreSQL. Currently `ptrack` codebase is split between small PostgreSQL core patch and extension. All public SQL API methods and main engine are placed in the `ptrack` extension, while the core patch contains only certain hooks and modifies binary utilities to ignore `ptrack.map.*` files.
1010

1111
## Installation
1212

run_tests.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -85,23 +85,23 @@ fi
8585
if [ "$TEST_CASE" = "all" ]; then
8686
# Run all pg_probackup ptrack tests
8787
python -m unittest -v tests.ptrack || status=$?
88-
89-
# Get back to testdir
90-
cd ..
91-
92-
# Run tap tests
93-
make USE_PGXS=1 check || status=$?
94-
95-
# Something went wrong, exit with code 1 now
96-
if [ $status -ne 0 ]; then exit 1; fi
97-
98-
# Generate *.gcov files
99-
gcov src/*.c src/*.h
100-
101-
# Send coverage stats to Codecov
102-
bash <(curl -s https://codecov.io/bash)
10388
else
10489
for i in `seq $TEST_REPEATS`; do
10590
python -m unittest -v tests.ptrack.PtrackTest.$TEST_CASE || status=$?
10691
done
10792
fi
93+
94+
# Get back to testdir
95+
cd ..
96+
97+
# Run tap tests
98+
make USE_PGXS=1 check || status=$?
99+
100+
# Generate *.gcov files
101+
gcov src/*.c src/*.h
102+
103+
# Send coverage stats to Codecov
104+
bash <(curl -s https://codecov.io/bash)
105+
106+
# Something went wrong, exit with code 1 now
107+
if [ $status -ne 0 ]; then exit 1; fi

0 commit comments

Comments
 (0)