.travis.yml revision e437b19c184243f688c2dd9b3bf083a454c804c7
language: ruby
rvm:
- 2.0.0
branches:
except:
- deployment
- ontohub.org
- staging.ontohub.org
services:
- redis-server
notifications:
email: false
before_install:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- 'gem install bundler'
script:
- bundle exec rake
before_script:
- psql -c 'create database ontohub_test;' -U postgres
- sudo apt-add-repository -y ppa:hets/hets
- sudo apt-add-repository -y 'deb http://archive.canonical.com/ubuntu precise partner'
- sudo apt-add-repository -y 'deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse'
- sudo apt-get update
- sudo apt-get install ia32-libs libsane libgphoto2-2 hets-core subversion udrawgraph
- sudo hets -update
- bundle exec rake db:migrate || true