somaticio/tensorflow.rb

View on GitHub
circle.yml

Summary

Maintainability
Test Coverage
machine:
  services:
    - docker

test:
  override:
     - docker run -it nethsix/ruby-tensorflow-ubuntu:0.0.2 /bin/bash -l -c "mkdir -p /repos/tensorflow.rb/circle-ci && cd /repos/tensorflow.rb/circle-ci && git clone $CIRCLE_REPOSITORY_URL && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME && (([[ $CIRCLE_BRANCH == 'master' ]] && git checkout $CIRCLE_BRANCH && git pull) || (git fetch origin $CIRCLE_BRANCH && git checkout FETCH_HEAD)) && bundle install && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME/ext/sciruby/tensorflow_c && ruby extconf.rb && make && make install && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME && bundle exec rake install && bundle exec rspec"