Skip to content

Commit d67e8da

Browse files
committed
travis-ci: don't fail on 'example' instance stop
The 'example' instance in not installed by default in tarantool-2.4 since 2.4.1-66-g78a9f8698, in tarantool-2.5 since 2.5.0-133-g080beba06 and in all further tarantool versions; see [1] for more information. [1]: tarantool/tarantool#4507
1 parent a984846 commit d67e8da

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis/travis.pre.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@ EOF
1414
sudo apt-get update
1515
sudo apt-get -y install tarantool tarantool-common
1616

17-
sudo tarantoolctl stop example
17+
# Stop 'example' instance if it exists.
18+
#
19+
# See https://github.com/tarantool/tarantool/issues/4507
20+
if [ -e /etc/tarantool/instances.enabled/example.lua ]; then
21+
sudo tarantoolctl stop example
22+
fi

0 commit comments

Comments
 (0)