Skip to content

Commit

Permalink
Add cassandra to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dinedal committed Aug 27, 2014
1 parent c7e6d54 commit 28f6567
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ go:
addons:
postgresql: "9.3"

services:
- cassandra

before_script:
- >
/usr/local/cassandra/bin/cqlsh -e "CREATE KEYSPACE migratetest WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor' : 1};"
- psql -c 'create database migratetest;' -U postgres

script: go test -p 1 ./...

0 comments on commit 28f6567

Please sign in to comment.