Skip to content

Commit

Permalink
revert to a8f0579
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Henton authored and Dave Henton committed Jul 27, 2017
1 parent c756a23 commit 5978e4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
env:
global:
- CC_TEST_REPORTER_ID=79fc565618e184940308cf086214ba65bd801e62866eb9d30cabee6a41e6a71a
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
language: ruby
rvm:
- 2.2.0
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
script:
- bundle exec rspec
# Preferably you will run test-reporter on branch update events. But
# if you setup travis to build PR updates only, you don't need to run
# the line below
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
# In the case where travis is setup to build PR updates only,
# uncomment the line below
# - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
# uncomment and edit the following line if your project needs to run something other than `rake`:
script: bundle exec rspec spec

1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ gem "rspec", "~> 3.2"

group :test do
gem "simplecov"
gem "codeclimate-test-reporter", "~> 1.0.0"
gem "rake"
end
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
codeclimate-test-reporter (1.0.4)
simplecov
diff-lcs (1.2.5)
docile (1.1.5)
Expand Down Expand Up @@ -29,6 +30,7 @@ PLATFORMS
ruby

DEPENDENCIES
codeclimate-test-reporter (~> 1.0.0)
rake
rspec (~> 3.2)
simplecov
Expand Down

0 comments on commit 5978e4a

Please sign in to comment.