.travis.yml revision d028e7841419d177561d20bc03db3b070f29dad6
550N/Adist: trusty
550N/Asudo: required
550N/Alanguage: ruby
550N/A
550N/Arvm:
550N/A - 2.2.5
550N/A
550N/Acache:
550N/A bundler: true
550N/A
550N/Aaddons:
550N/A postgresql: '9.3'
550N/A apt:
550N/A sources:
550N/A - elasticsearch-2.x
550N/A packages:
550N/A - elasticsearch
550N/A
550N/Abranches:
550N/A except:
550N/A - ontohub.org
550N/A - staging.ontohub.org
550N/A - develop.ontohub.org
550N/A
550N/Aservices:
550N/A - redis-server
550N/A - elasticsearch
550N/A
550N/Anotifications:
550N/A email: false
550N/A webhooks:
550N/A urls:
550N/A - https://webhooks.gitter.im/e/1e9d1f1a0e20c6c7c6ba
550N/A on_success: always # options: [always|never|change] default: always
550N/A on_failure: always # options: [always|never|change] default: always
550N/A on_start: true # default: false
550N/A
550N/Abefore_install:
550N/A - 'export DISPLAY=:99.0'
550N/A - 'sh -e /etc/init.d/xvfb start'
550N/A - 'gem uninstall bundler bundle rubygems-update --all -x && gem update --system 2.6.1 && gem install bundler && gem uninstall rubygems-update --all -x && gem update --system 2.6.4'
550N/A - 'gem --version'
550N/A - 'bundle --version'
550N/A
550N/Ascript:
550N/A - SPEC_OPTS='--format documentation' CUCUMBER_OPTS='--format pretty' ELASTIC_TEST_PORT=9200 bundle exec rake
550N/A
550N/Abefore_script:
550N/A - psql -c 'create database ontohub_test;' -U postgres
550N/A - sudo apt-add-repository -y ppa:hets/hets
550N/A - sudo apt-add-repository -y 'deb http://archive.canonical.com/ubuntu precise partner'
550N/A - sudo apt-add-repository -y 'deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse'
550N/A - sudo apt-get update
550N/A - sudo apt-get install libsane libgphoto2-2 hets-server subversion git-svn
550N/A - sudo ln -s /usr/bin/hets-server /usr/bin/hets
550N/A - sudo ln -s /usr/lib/hets/hets-server /usr/lib/hets/hets
550N/A - mkdir -p tmp/{git,data/{git,git_daemon,commits}}
550N/A - curl http://localhost:9200
550N/A - RAILS_ENV=test bundle exec rake db:migrate || true
550N/A