From 1ab5761086196451e37edd90bd338d4895658b92 Mon Sep 17 00:00:00 2001 From: Ryan Duryea Date: Sat, 5 Sep 2020 11:56:09 -0700 Subject: [PATCH 1/2] Travis: get tests running --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b76db75..774bfee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,14 @@ language: ruby rvm: - 2.2.1 -before_install: gem install bundler -v 1.11.2 +before_install: +- gem install bundler -v 1.11.2 +- curl -sSL "https://github.com/aubio/aubio/archive/0.4.9.tar.gz" | tar zxvf - +- sudo apt update -y && sudo apt install -y libavcodec-dev libavutil-dev libavformat-dev libswresample-dev libavresample-dev libsamplerate-dev libsndfile-dev txt2man doxygen +- cd aubio-0.4.9 +- make +- ./scripts/get_waf.sh +- ./waf configure +- ./waf build +- sudo ./waf install +script: bundle && bundle exec rake test From 289b71facb4605eb20e5b41424f1e56839d8395c Mon Sep 17 00:00:00 2001 From: Ryan Duryea Date: Sat, 5 Sep 2020 21:56:57 -0700 Subject: [PATCH 2/2] Travis: test against Ruby versions 2.3+ --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 774bfee..cebd070 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,12 @@ language: ruby rvm: - - 2.2.1 + - 2.3 + - 2.4 + - 2.5 + - 2.6 + - 2.7 before_install: -- gem install bundler -v 1.11.2 +- gem install bundler - curl -sSL "https://github.com/aubio/aubio/archive/0.4.9.tar.gz" | tar zxvf - - sudo apt update -y && sudo apt install -y libavcodec-dev libavutil-dev libavformat-dev libswresample-dev libavresample-dev libsamplerate-dev libsndfile-dev txt2man doxygen - cd aubio-0.4.9