Skip to content

Commit

Permalink
Commit neglected material. [#87]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Aug 9, 2013
1 parent 6eba4c3 commit 136fd25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -6,7 +6,5 @@ services: postgresql
before_install:
- gem update --system 1.8.25 # since ZenTest needs ~> 1.8
- gem --version
before_script:
- ./ci/before_script.sh
- bundle exec rake db:setup_with_postgis
script: bundle exec rspec -O .rspec.travis && bundle exec cucumber
before_script: ./ci/before_script.sh
script: rake ci
6 changes: 6 additions & 0 deletions lib/tasks/ci.rake
Expand Up @@ -6,4 +6,10 @@ namespace :db do

desc 'Create database and load PostGIS and schema'
task setup_with_postgis: %w(db:create db:install_postgis db:schema:load)
end

desc 'Run CI tests (intended for Travis)'
task ci: 'db:setup_with_postgis' do
sh 'bundle exec rspec -O .rspec.travis'
sh 'bundle exec cucumber'
end

0 comments on commit 136fd25

Please sign in to comment.