travis-ci.org是否支持pm2? [英] Does travis-ci.org support pm2?

查看:84
本文介绍了travis-ci.org是否支持pm2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用travis-ci.org设置了一个nodejs自动测试.我需要设置一个服务器来支持静态文件.我想知道trvis-ci是否支持pm2:)

I set up a nodejs auto test with travis-ci.org。I need to set up a server to support static files.I want to know if trvis-ci support pm2:)

或者,有什么方法可以记录服务器的pid.

Or,is there any way to record a server`s pid。

就像pm2一样:

pm2 start app.js

pm2 stop app.js

推荐答案

您可以在travis上安装pm2.为此,您需要更改.travis.yml:

You can install pm2 on travis. To do that, you need to change your .travis.yml:

before_script:

before_script:

这篇关于travis-ci.org是否支持pm2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆