Skip to content

Commit

Permalink
Merge pull request #216 from jakirkham/travis_specify_content_type
Browse files Browse the repository at this point in the history
Specify Travis CI content type as JSON
  • Loading branch information
pelson authored Jul 7, 2016
2 parents e04d219 + 5015a47 commit 6948b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conda_smithy/ci_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def add_project_to_travis(user, project):
# If the user-agent isn't defined correctly, we will recieve a 403.
'User-Agent': 'Travis/1.0',
'Accept': 'application/vnd.travis-ci.2+json',
'Content-Type': 'application/json'
}
endpoint = 'https://api.travis-ci.org'
url = '{}/auth/github'.format(endpoint)
Expand Down

0 comments on commit 6948b61

Please sign in to comment.