Skip to content

Commit

Permalink
Travis: test that service is running
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 20, 2018
1 parent 219c502 commit edcc714
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ addons:
- sourceline: 'ppa:opencpu/rapache'
- sourceline: 'ppa:nginx/stable'
packages:
- curl
- devscripts
- equivs
- gdebi-core
Expand All @@ -32,7 +33,10 @@ install:
- sudo gdebi --n ../opencpu-server_*.deb
- sudo gdebi --n ../opencpu-cache_*.deb

script: sudo service apache2 restart
script:
- sudo apt-get remove -y opencpu-cache
- sudo service apache2 restart && sleep 5
- curl http://localhost/ocpu/info

after_failure:

Expand Down

0 comments on commit edcc714

Please sign in to comment.