Sha256: 37da6b9c7f2012168df59170d97c0626cd37dac4ec1074aa051fce8c1ce7347e

Contents?: true

Size: 715 Bytes

Versions: 181

Compression:

Stored size: 715 Bytes

Contents

require 'spec_helper'

describe Travis::CLI::Status do
  example "travis status" do
    run_cli('status').should be_success
    stdout.should be == "failed\n"
  end

  example "travis status -x" do
    run_cli('status', '-x').should_not be_success
    stdout.should be == "failed\n"
  end

  example "travis status -q" do
    run_cli('status', '-q').should be_success
    stdout.should be_empty
  end

  example "travis status -pqx" do
    run_cli('endpoint', '-pqx').should_not be_success
    stdout.should be_empty
  end

  example "travis status -i" do
    run_cli('status', '-i', '--skip-completion-check', '-r', 'travis-ci/travis.rb').should be_success
    stdout.should be == "build #6180 failed\n"
  end
end

Version data entries

181 entries across 181 versions & 3 rubygems

Version Path
travis-1.9.1 spec/cli/status_spec.rb
travis-1.9.1.travis.1223.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1220.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1219.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1216.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1208.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1207.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1206.9 spec/cli/status_spec.rb
travis-1.9.1.travis.1205.9 spec/cli/status_spec.rb
travis-1.9.0 spec/cli/status_spec.rb
travis-1.9.1.travis.1201.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1200.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1199.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1198.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1197.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1195.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1192.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1186.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1184.9 spec/cli/status_spec.rb
travis-1.8.14.travis.1183.9 spec/cli/status_spec.rb