somaticio / tensorflow.rb

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

Use pull/ID/head when performing CI #46

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, where we can do build and rspec