Skip to content

Fix Travis tests #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ make USE_PGXS=1 installcheck || status=$?
if [ -f regression.diffs ]; then cat regression.diffs; fi

# run python tests
set +x
set +x -e
virtualenv /tmp/env && source /tmp/env/bin/activate &&
pip install PyYAML && pip install psycopg2 &&
python tests/pg_qs_test_runner.py --port $PGPORT #--database db --user zloj
pip install PyYAML && pip install psycopg2
set -e #exit virtualenv with error code
python tests/pg_qs_test_runner.py --port $PGPORT
deactivate
set -x

Expand All @@ -162,7 +163,7 @@ fi

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

set +e
# generate *.gcov files
gcov *.c *.h

Expand Down