aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rwxr-xr-x.travis/test.sh9
-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() {