Skip to content

Commit cad2cb3

Browse files
committed
Travis: test that service is running
1 parent 219c502 commit cad2cb3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ addons:
1818
- sourceline: 'ppa:opencpu/rapache'
1919
- sourceline: 'ppa:nginx/stable'
2020
packages:
21+
- curl
2122
- devscripts
2223
- equivs
2324
- gdebi-core
@@ -31,8 +32,10 @@ install:
3132
- sudo gdebi --n ../opencpu-lib_*.deb
3233
- sudo gdebi --n ../opencpu-server_*.deb
3334
- sudo gdebi --n ../opencpu-cache_*.deb
35+
- sudo apt-get remove -y opencpu-cache
3436

35-
script: sudo service apache2 restart
37+
script:
38+
- curl http://localhost/ocpu/info
3639

3740
after_failure:
3841

0 commit comments

Comments
 (0)