Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ notebooks/.ipynb_checkpoints/
notebooks/Gemfile.lock
callgrind.out.*
*~

*.so
*.cmake
CMakeFiles/
CMakeCache.txt
Makefile
install_manifest.txt
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ matrix:
include:
- os: osx
rvm: 1.9.3
allow_failures:
- os: osx
rvm: 1.9.3

install:
- export RUBY_SOURCE_DIR=`pwd`
Expand All @@ -38,7 +41,7 @@ install:
- source bin/install_travis.sh

# Build C++ library
- source bin/test_travis.sh
- bin/test_travis.sh

# Setup travis for Ruby wrappers
- cd $RUBY_SOURCE_DIR
Expand All @@ -48,10 +51,11 @@ script:
# Build ruby gem
- gem build symengine.gemspec
# Install ruby gem
- gem install symengine-0.1.0.gem --user --verbose -- -DSymEngine_DIR=$our_install_dir
- gem install symengine-0.1.0.gem --install-dir $HOME --verbose -- -DSymEngine_DIR=$our_install_dir
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the it's not able to find the .so file in OS X.

/Users/travis/gems/symengine-0.1.0/lib/symengine.rb:1:in `require': cannot load such file -- symengine/symengine (LoadError)
    from /Users/travis/gems/symengine-0.1.0/lib/symengine.rb:1:in `<top (required)>'
    from /Users/travis/gems/symengine-0.1.0/spec/spec_helper.rb:16:in `require_relative'

Are we missing something?


# Test ruby gem
- gem install gem-path --no-ri --no-rdoc
- cd `gem path symengine`
- cd $HOME/gems/symengine-0.1.0/
- bundle exec rspec

notifications:
Expand Down