2014-12-13 78 views
1

我正在尝试使用Travis CI实现我的Node.js/Express应用程序连续部署到Modulus。我想要实现的是,在我将代码推送到Github主分支后,Travis选择它并运行构建,并在成功完成后自动将其重新部署到Modulus。用Travis和Modulus连续部署

Modulus的初始部署是成功的,但是,它没有通过Travis运行,而是使用Modulus CLI进行部署。现在,通过下面的设置,我尝试使自动连续部署运行。

.travis.yml

language: node_js 
node_js: 
- '0.10' 
deploy: 
    provider: modulus 
    project_name: myapp 
    api_key: 
    secure: G/j0jvYemr1QW4URHIvsBdHhW6g+O... 

然而,当我修改我的项目,并把它推到Github上,特拉维斯告诉你一切都过去了。但是,该项目从未真正重新部署在Modulus上。

段从Travis-CI.org

The command "npm test" exited with 0. 
Fetching: dpl-1.7.8.gem (100%) 

Installing deploy dependencies 
Preparing deploy 
Deploying application 
Already up-to-date! 
# HEAD detached at c521c41 
nothing to commit, working directory clean 
Dropped refs/[email protected]{0} (e278ref0ff14a85e3eb27d74bbfdfa6321a7829d) 
Done. Your build exited with 0. 

我缺少什么呢?任何提示?

回答

0

这似乎是特拉维斯的dpl工具的一个问题,这是什么部署。模数部署工作在一个点上,但是从dpl内部不是很明显的东西已经使其退步。

在GitHub上有这个问题:https://github.com/travis-ci/dpl/issues/207