From a5e64f20bd89b51071e24d25f22382e536d96c41 Mon Sep 17 00:00:00 2001 From: niansa Date: Thu, 12 Jul 2018 14:11:10 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3b007b..336748d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,3 @@ job: script: - - alias git='"true" ' && echo "Installing depencies..." && apt update -qq && apt install -qq -y fakeroot && echo "Building Debian package..." && mkdir /tmp/simpsh-httpd && mv ./* /tmp/simpsh-httpd/ && export HOME="/tmp/" && cd && chmod -R a+x ./simpsh-httpd && ./simpsh-httpd/mkdeb.sh && apt install -y ./simpsh-httpd.deb \ No newline at end of file + - alias git='"true" ' && echo "Installing depencies..." && apt update -qq && apt install -qq -y fakeroot curl && echo "Building Debian package..." && mkdir /tmp/simpsh-httpd && mv ./* /tmp/simpsh-httpd/ && export HOME="/tmp/" && cd && chmod -R a+x ./simpsh-httpd && ./simpsh-httpd/mkdeb.sh && apt install -y ./simpsh-httpd.deb && echo "Starting simpsh-httpd..." && mkdir -p /var/www/html && simpsh-httpd -d && echo "Creating test document..." && (echo "This is a test!" > /var/www/html/testdocument.txt) && testdoc="$(curl http://localhost/testdocument.txt)" && (if [[ $testdoc == "This is a test!" ]]; then echo "Server returned expected document"; else echo "Something went wrong... Server returned: $testdoc"; exit 1; fi) \ No newline at end of file