language: ruby
rvm:
  - 1.9.3
  - 2.2.2

before_script:
  - cp config/database.yml.travis spec/dummy/config/database.yml
  - psql -c 'create database travis_ci_test;' -U postgres
  - bundle exec rake db:migrate

  - sh -e /etc/init.d/xvfb start

  - wget http://cdn.sencha.com/ext/gpl/ext-5.1.0-gpl.zip
  - unzip -q ext-5.1.0-gpl.zip
  - mv ext-5.1.0 spec/dummy/public/extjs
  - ln -s spec/dummy/public/extjs/icons spec/dummy/public/icons

script:
  - export DISPLAY=:99.0
  - bundle exec rake

addons:
  postgresql: "9.4"

language: ruby
rvm:
  - 1.9.3
  - 2.2.2

before_script:
  - cp config/database.yml.travis spec/dummy/config/database.yml
  - psql -c 'create database travis_ci_test;' -U postgres
  - bundle exec rake db:migrate

  - sh -e /etc/init.d/xvfb start

  - wget http://cdn.sencha.com/ext/gpl/ext-5.1.0-gpl.zip
  - unzip -q ext-5.1.0-gpl.zip
  - mv ext-5.1.0 spec/dummy/public/extjs
  - ln -s `pwd`/spec/dummy/public/icons/ spec/dummy/public/extjs/icons

script:
  - export DISPLAY=:99.0
  - bundle exec rake

addons:
  postgresql: "9.4"

Fix icons sym link for Travis CI
Fix icons sym link for Travis CI
