From cad2cb316b56e2845ea53273b1f6cc7e81703f96 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Tue, 20 Nov 2018 16:32:12 +0100 Subject: [PATCH] Travis: test that service is running --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9a29b512..aab2527d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ addons: - sourceline: 'ppa:opencpu/rapache' - sourceline: 'ppa:nginx/stable' packages: + - curl - devscripts - equivs - gdebi-core @@ -31,8 +32,10 @@ install: - sudo gdebi --n ../opencpu-lib_*.deb - sudo gdebi --n ../opencpu-server_*.deb - sudo gdebi --n ../opencpu-cache_*.deb + - sudo apt-get remove -y opencpu-cache -script: sudo service apache2 restart +script: + - curl http://localhost/ocpu/info after_failure: