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 cad2cb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 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 @@ -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:

Expand Down

0 comments on commit cad2cb3

Please sign in to comment.