diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-26 14:39:11 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-26 14:40:33 +0300 |
commit | f342a9e121059b734af8bf0ce6430c60afbaa09c (patch) | |
tree | da911ab240e4cea37ecd7aef5bd7fcfc27866809 | |
parent | Travis: proper binary output detection in online_sessions.sh (diff) | |
download | vk-scripts-f342a9e121059b734af8bf0ce6430c60afbaa09c.tar.gz vk-scripts-f342a9e121059b734af8bf0ce6430c60afbaa09c.zip |
Travis: restructure test scripts
-rw-r--r-- | .travis.yml | 3 | ||||
-rwxr-xr-x | .travis/test.sh | 9 | ||||
-rwxr-xr-x | .travis/test/online_sessions.sh (renamed from .travis/online_sessions.sh) | 5 | ||||
-rwxr-xr-x | .travis/test/track_status.sh (renamed from .travis/track_status.sh) | 5 |
4 files changed, 20 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a6896ed..c4f6dd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,4 @@ script: - python3 -m bin.show_status egor.tensin - - ./.travis/track_status.sh - - ./.travis/online_sessions.sh + - ./.travis/test.sh diff --git a/.travis/test.sh b/.travis/test.sh new file mode 100755 index 0000000..07b9b71 --- /dev/null +++ b/.travis/test.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# Copyright (c) 2019 Egor Tensin <Egor.Tensin@gmail.com> +# This file is part of the "VK scripts" project. +# For details, see https://github.com/egor-tensin/vk-scripts. +# Distributed under the MIT License. + +./.travis/test/track_status.sh +./.travis/test/online_sessions.sh diff --git a/.travis/online_sessions.sh b/.travis/test/online_sessions.sh index 112b46e..0bf578c 100755 --- a/.travis/online_sessions.sh +++ b/.travis/test/online_sessions.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# Copyright (c) 2019 Egor Tensin <Egor.Tensin@gmail.com> +# This file is part of the "VK scripts" project. +# For details, see https://github.com/egor-tensin/vk-scripts. +# Distributed under the MIT License. + set -o errexit -o nounset -o pipefail readonly db_path='.travis/test_db.csv' diff --git a/.travis/track_status.sh b/.travis/test/track_status.sh index 91be5a3..a021398 100755 --- a/.travis/track_status.sh +++ b/.travis/test/track_status.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# Copyright (c) 2019 Egor Tensin <Egor.Tensin@gmail.com> +# This file is part of the "VK scripts" project. +# For details, see https://github.com/egor-tensin/vk-scripts. +# Distributed under the MIT License. + set -o errexit -o nounset -o pipefail track_status() { |