对于红宝石黄瓜自动化脚本,命令“bundle exec rake”在Travis中以1退出

时间:2018-05-07 14:00:51

标签: ruby continuous-integration rake travis-ci

我正在尝试在Travis中运行我的示例工作,但却低于错误。Git hub project

$ bundle exec rake
/home/travis/.rvm/rubies/ruby-2.3.3/bin/ruby -I "lib" "/home/travis/.rvm/gems/ruby-2.3.3/gems/cucumber-2.4.0/bin/cucumber" --profile default
The command "bundle exec rake" exited with 1.

Rake文件:

require 'rubygems'
require 'cucumber'
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:features) do |t|
  t.profile = 'default'
end

task :default => :features

.travis.yml文件

language: ruby
rvm :
    - 2.3.3
before_install:
  - gem update --system
  - gem install bundler
gemfile: gemfile

1 个答案:

答案 0 :(得分:0)

False