File: .travis.yml

package info (click to toggle)
ruby-mpi 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 408 kB
  • sloc: ansic: 1,500; ruby: 808; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: ruby
os:
 - linux
 - osx
rvm:
 - 2.0.0
 - 1.9.3
cache:
 - bundler
 - apt
addons:
 apt:
  packages:
   - libopenmpi-dev
   - openmpi-bin
before_install:
 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install open-mpi; fi
before_script:
 - bundle exec rake compile
env:
 - JRUBY_OPTS=-Xcext.enabled=true
script:
 - bundle exec mpirun -n 2 rspec
 - bundle exec mpirun -n 2 ruby -Ilib samples/hello.rb
 - bundle exec mpirun -n 2 ruby -Ilib samples/narray.rb
 - bundle exec mpirun -n 2 ruby -Ilib samples/narray_offset.rb