.travis.yml in gaku-0.1.1 vs .travis.yml in gaku-0.2.0

- old
+ new

@@ -1,37 +1,44 @@ +language: ruby + +rvm: + - 2.1 + +services: + - redis-server + +addons: + postgresql: 9.3 + before_script: - sh -e /etc/init.d/xvfb start - export DISPLAY=:99.0 - sudo psql --version - phantomjs --version - sudo apt-get install postgresql-contrib-9.3 -qq - sudo /etc/init.d/postgresql restart - psql -c 'create database gaku_test;' -U postgres -bundler_args: --without production +bundler_args: -j4 --without development production -env: - - GEM=core SUITE=spec/models - - GEM=frontend SUITE=spec/controllers spec/integration spec/routing - - GEM=admin SUITE=spec/controllers spec/routing - - GEM=frontend SUITE=spec/features SELENIUM=1 - - GEM=admin SUITE=spec/features SELENIUM=1 - - GEM=archive SELENIUM=1 - before_install: - #- gem install bundler --pre - cd $GEM; export BUNDLE_GEMFILE="`pwd`/Gemfile" script: - bundle exec rake test_app - I18N=1 bundle exec rspec $SUITE +env: + - GEM=core SUITE="spec/models spec/lib spec/services" + - GEM=frontend SUITE="spec/controllers spec/routing spec/requests" + - GEM=admin SUITE="spec/controllers spec/routing" + - GEM=frontend SUITE=spec/features/students SELENIUM=1 + - GEM=frontend SUITE=spec/features/other SELENIUM=1 + - GEM=admin SUITE=spec/features SELENIUM=1 + notifications: email: false irc: on_success: change on_failure: always channels: - "irc.freenode.org#gaku" - -rvm: - - 2.0.0 \ No newline at end of file