Skip to content

Setting up OQGraph for MariaDB with TravisCI

I’m using OQGraph in a project for determining the shortest path between two graph nodes. Recently, I set up testing on TravisCI and had some trouble getting OQGraph set-up. I’m including the relevant section from my .travis.yml file so other people don’t have to spend the same amount of time. Add the following to your before_script section to set up the apt packages:

  - sudo apt-get install software-properties-common
  - sudo apt-key adv --recv-keys --keyserver hkp:// 0xcbcb082a1bb943db
  - sudo add-apt-repository 'deb trusty main'

Then add the following line:

  - mysql -u root -e "install plugin oqgraph soname '';"
Published inDevOps

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *