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.8.11.travis.1010.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1009.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1008.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1007.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1004.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1003.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1002.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1001.9 spec/cli/status_spec.rb
travis-1.8.11.travis.1000.9 spec/cli/status_spec.rb
travis-1.8.11.travis.998.9 spec/cli/status_spec.rb
travis-1.8.10.travis.997.9 spec/cli/status_spec.rb
travis-1.8.10 spec/cli/status_spec.rb
travis-1.8.10.travis.994.9 spec/cli/status_spec.rb
travis-1.8.10.travis.953.11 spec/cli/status_spec.rb
travis-akerl-1.8.9.1 spec/cli/status_spec.rb
travis-akerl-1.8.9 spec/cli/status_spec.rb
travis-1.8.10.travis.950.11 spec/cli/status_spec.rb
travis-1.8.10.travis.948.11 spec/cli/status_spec.rb
travis-1.8.10.travis.946.11 spec/cli/status_spec.rb
travis-1.8.10.travis.944.11 spec/cli/status_spec.rb