From ef6e3dd242809082b11e597636dfb95d16143c39 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 26 Sep 2019 14:43:08 +0300 Subject: Travis: track_status.sh: refactoring --- .travis/test/track_status.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.travis/test') diff --git a/.travis/test/track_status.sh b/.travis/test/track_status.sh index a021398..5102088 100755 --- a/.travis/test/track_status.sh +++ b/.travis/test/track_status.sh @@ -7,6 +7,8 @@ set -o errexit -o nounset -o pipefail +readonly uid='egor.tensin' + track_status() { local log_path log_path="$( mktemp )" @@ -22,7 +24,7 @@ track_status() { trap "$rm_aux_files" RETURN echo 'Running track_status.py...' - python3 -m bin.track_status egor.tensin --log "$log_path" --format csv --output "$db_path" & + python3 -m bin.track_status "$uid" --log "$log_path" --format csv --output "$db_path" & local pid="$!" echo "Its PID is $pid" -- cgit v1.2.3