mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
Use Travis CI for continuous integration
This commit is contained in:
parent
c5a06e7d85
commit
cb874aa700
1 changed files with 32 additions and 0 deletions
32
.travis.yml
Normal file
32
.travis.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
language: ruby
|
||||
|
||||
sudo: false
|
||||
|
||||
dist: trusty
|
||||
|
||||
rvm:
|
||||
- 2.3.4
|
||||
- 2.4.1
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libopencv-dev
|
||||
|
||||
env:
|
||||
global:
|
||||
- PATH=/usr/lib/ccache:$PATH
|
||||
|
||||
cache:
|
||||
bundler: true
|
||||
directories:
|
||||
- $HOME/.ccache
|
||||
|
||||
before_script:
|
||||
- ruby ext/opencv/extconf.rb
|
||||
- make
|
||||
- make install
|
||||
|
||||
script:
|
||||
- cd test
|
||||
- ruby runner.rb
|
Loading…
Add table
Reference in a new issue