.travis.yml in jekyll_push-0.1.0 vs .travis.yml in jekyll_push-0.1.1
- old
+ new
@@ -6,7 +6,19 @@
- 2.6
before_install:
- gem update --system
- gem install bundler
script:
- - bundle exec rspec
- bundle exec rubocop
+ - bundle exec rspec
+
+# code climate
+
+env:
+ global:
+ - CC_TEST_REPORTER_ID=09f760621cf09a9165e0202f5714ca6ca751a4a5a5e108cc50e488131390e7ac
+before_script:
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
+ - chmod +x ./cc-test-reporter
+ - ./cc-test-reporter before-build
+after_script:
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT