aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-26 14:43:08 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-26 14:43:08 +0300
commitef6e3dd242809082b11e597636dfb95d16143c39 (patch)
treeeb42cd4a01788f9e87f7945d21a34eb83d0e1612
parentTravis: restructure test scripts (diff)
downloadvk-scripts-ef6e3dd242809082b11e597636dfb95d16143c39.tar.gz
vk-scripts-ef6e3dd242809082b11e597636dfb95d16143c39.zip
Travis: track_status.sh: refactoring
-rwxr-xr-x.travis/test/track_status.sh4
1 files changed, 3 insertions, 1 deletions
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"