ci/after_success.py in thermite-0.4.0 vs ci/after_success.py in thermite-0.5.0

- old
+ new

@@ -46,8 +46,9 @@ http = httplib.HTTPSConnection('api.travis-ci.org') http.request('POST', '/repo/malept%2Frusty_blank/requests', json.dumps(payload), headers) print(http.getresponse().read()) if __name__ == '__main__': - if os.environ['TRAVIS_RUBY_VERSION'].startswith('2.3.'): + if (os.environ['TRAVIS_OS_NAME'] == 'linux' and + os.environ['TRAVIS_RUBY_VERSION'].startswith('2.3.')): trigger_appveyor_build() trigger_travis_build()