somaticio / tensorflow.rb

tensorflow for ruby
BSD 3-Clause "New" or "Revised" License
829 stars 63 forks source link

Use pull/ID/head when performing CI #44

Closed nethsix closed 8 years ago

nethsix commented 8 years ago

We cannot just 'git checkout CIRCLE_BRANCH_NAME' because for pull requests CIRCLE_BRANCH_NAME is just pull/ID and there is no such branch. Need to use 'git fetch $CIRCLE_BRANCH_NAME/head' which then get pulled into local branch called FETCH_HEAD