.travis.yml in gaku-0.0.2 vs .travis.yml in gaku-0.0.3
- old
+ new
@@ -1,24 +1,27 @@
before_script:
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
- psql -c 'create database gaku_test;' -U postgres
-bundler_args: --without development production
+bundler_args: --without production
env:
- - GEM=core DB=postgres
+ - 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
before_install:
- - gem install bundler --pre
+ - travis_retry gem install bundler --pre
- cd $GEM; export BUNDLE_GEMFILE="`pwd`/Gemfile"
script:
- bundle exec rake test_app
- - SELENIUM=1 I18N=1 bundle exec rspec
+ - SELENIUM=1 I18N=1 bundle exec rspec spec/$TEST_SUITE
notifications:
- email:
- - false
+ email: false
irc:
- use_notice: true
- skip_join: true
+ on_success: change
+ on_failure: always
channels:
- "irc.freenode.org#gaku"
rvm:
- 2.0.0
\ No newline at end of file