]> granicus.if.org Git - pdns/commitdiff
Attempt to setup ruby before doing much
authorAki Tuomi <cmouse@desteem.org>
Sat, 26 Oct 2013 20:05:12 +0000 (23:05 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 26 Oct 2013 20:05:12 +0000 (23:05 +0300)
.travis.yml

index 0c8bd3d68436cfb6b04644f99b60f4a7b6b97f8d..fcccdf2fd6ef4217b316de9d0e6d33847b28dd05 100644 (file)
@@ -7,10 +7,15 @@ before_script:
  - sudo apt-get install libboost-all-dev libtolua-dev bc libcdb-dev libnet-dns-perl unbound-host ldnsutils dnsutils bind9utils libtool libcdb-dev xmlto dblatex links asciidoc ruby-json ruby-sqlite3 rubygems libcurl4-openssl-dev ruby1.9.1 socat time
  - sudo sed -i '0,/\[mysqld\]/s//[mysqld]\nskip-character-set-client-handshake/' /etc/mysql/my.cnf
  - sudo restart mysql
+ - update-alternatives --set ruby /usr/bin/ruby1.9.1
+ - gem install bundler --no-rdoc --no-ri --bindir /usr/local/bin
  - cd regression-tests
  - wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
  - unzip top-1m.csv.zip
  - cd ..
+ - cd modules/remotebackend
+ - bundle install
+ - cd ../..
 script:
  - ./bootstrap
  - ./configure --with-modules='gmysql gpgsql gsqlite3 mydns tinydns remote random' --enable-unit-tests --enable-remotebackend-http --enable-tools