.travis.yml in gaku-0.0.3 vs .travis.yml in gaku-0.1.0
- old
+ new
@@ -1,27 +1,37 @@
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
+
env:
- - TEST_SUITE=models GEM=core DB=postgres
- - TEST_SUITE=controllers GEM=core DB=postgres
- - TEST_SUITE=integration GEM=core DB=postgres
- - TEST_SUITE=routing GEM=core DB=postgres
- - TEST_SUITE=requests GEM=core DB=postgres
+ - 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:
- - travis_retry gem install bundler --pre
+ #- gem install bundler --pre
- cd $GEM; export BUNDLE_GEMFILE="`pwd`/Gemfile"
+
script:
- bundle exec rake test_app
- - SELENIUM=1 I18N=1 bundle exec rspec spec/$TEST_SUITE
+ - I18N=1 bundle exec rspec $SUITE
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