Module: Ilovespec
- Defined in:
- lib/ilovespec.rb,
lib/ilovespec/version.rb
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.is_ci? ⇒ Boolean
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/ilovespec.rb', line 8 def self.is_ci? ENV['CI'] || # Travis CI, CircleCI, GitlabCI, Appveyor, CodeShip, ... ENV['CONTINUOUS_INTEGRATION'] || # Travis CI, ... ENV['BUILD_NUMBER'] || # Jenkins, TeamCity, ... # Sever specific environment variables ENV['JENKINS_URL'] || # Jenkins ENV['bamboo_planKey'] || # Bamboo (by Atlassian) ENV['TF_BUILD'] || # Team Foundation Server (by Microsoft) ENV['TEAMCITY_VERSION'] || # TeamCity (by JetBrains) ENV['BUILDKITE'] || # Buildkite ENV['HUDSON_URL'] || # Hudson (ENV['TASK_ID'] && ENV['RUN_ID']) || # TaskCluster ENV['GO_PIPELINE_LABEL'] || # GoCD false end |
.time_to_shine ⇒ Object
4 5 6 |
# File 'lib/ilovespec.rb', line 4 def self.time_to_shine require 'ilovespec/rspec/expectations/expectations_helper' end |