Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Commit

Permalink
Initial Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jabley committed Mar 20, 2013
1 parent 081951c commit dc52dff
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: ruby
bundler_args: --without development
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq wbritish
- cp config/database.travis.yml config/database.yml
script:
- bundle exec rake db:create
- bundle exec rake db:schema:load
- bundle exec rake spec
rvm:
- 2.0.0
- 1.9.3
- 1.9.2
matrix:
allow_failures:
- rvm: 2.0.0
branches:
only:
- master
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/alphagov/trade-tariff-backend.png?branch=master)](https://travis-ci.org/alphagov/trade-tariff-backend)

# TradeTariffBackend

The API backend for TradeTariffFrontend application
Expand Down
8 changes: 8 additions & 0 deletions config/database.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
test:
adapter: mysql2
host: localhost
database: tariff_test
username: root
password:
encoding: utf8
pool: 5

0 comments on commit dc52dff

Please sign in to comment.