From d5902208cda62bec6062ca6b2b0a5bcd63f8a19b Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Thu, 18 Jan 2018 00:45:27 +0300 Subject: [PATCH] Pass ShellCheck; provision Neo4J Server 3.3.1 --- bin/ci/start_neo4j_server.sh | 8 ++++---- bin/ci/test.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/ci/start_neo4j_server.sh b/bin/ci/start_neo4j_server.sh index ce4c98c..e7bdf60 100755 --- a/bin/ci/start_neo4j_server.sh +++ b/bin/ci/start_neo4j_server.sh @@ -1,13 +1,13 @@ #!/bin/sh -VERSION="3.0.3" -TARBALL="neo4j3.0.tar.gz" +VERSION="3.3.1" +TARBALL="neo4j-server-$VERSION.tar.gz" -cd /tmp +cd /tmp || exit wget -O $TARBALL "http://dist.neo4j.org/neo4j-community-$VERSION-unix.tar.gz?edition=community&version=$VERSION&distribution=tarball&dlid=2803678" tar zxf $TARBALL -cd "neo4j-community-$VERSION" +cd "neo4j-community-$VERSION" || exit ./bin/neo4j start sleep 5 diff --git a/bin/ci/test.sh b/bin/ci/test.sh index 9e4214b..6cfa1e5 100755 --- a/bin/ci/test.sh +++ b/bin/ci/test.sh @@ -2,7 +2,7 @@ lein run -m clojurewerkz.neocons.rest.passwords http://localhost:7474/ neo4j neo4j qwerty -if ["$TRAVIS_SECURE_ENV_VARS" = "true"]; then +if test "$TRAVIS_SECURE_ENV_VARS" = 'true'; then NEO4J_LOGIN=neo4j NEO4J_PASSWORD=qwerty lein test :travis else NEO4J_LOGIN=neo4j NEO4J_PASSWORD=qwerty lein test :default