Skip to content

Commit

Permalink
chore: bump default testing C* version to 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Aug 1, 2016
1 parent e9f0e1f commit 9e15814
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: perl
perl: 5.18
language: java
jdk:
- oraclejdk8
sudo: false
notifications:
email: false
Expand All @@ -13,7 +14,6 @@ addons:
- build-essential
env:
global:
- CASSANDRA=2.2.7
- OPENRESTY=1.9.15.1
- OPENRESTY_DIR=$HOME/openresty
- LUA_DIR=$HOME/lua
Expand All @@ -24,6 +24,9 @@ env:
- LUA="luajit 2.1"
- OPENRESTY_TESTS=true
LUA="luajit 2.1"
- OPENRESTY_TESTS=true
LUA="luajit 2.1"
CASSANDRA=2.2.7
- OPENRESTY_TESTS=true
LUA="luajit 2.1"
CASSANDRA=2.1.15
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
DEV_ROCKS=busted luacov-coveralls luacheck ldoc
BUSTED_ARGS ?= -v -o gtest
CASSANDRA ?= 3.7

.PHONY: install dev busted prove test clean coverage lint doc

Expand All @@ -20,7 +21,7 @@ busted:
@busted $(BUSTED_ARGS)

prove:
@util/prove_ccm.sh
@util/prove_ccm.sh $(CASSANDRA)
@t/reindex t/*
@prove

Expand Down
2 changes: 1 addition & 1 deletion spec/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local function exec(cmd, ignore)
end

local _M = {
cassandra_version = os.getenv("CASSANDRA") or "2.2.7",
cassandra_version = os.getenv("CASSANDRA") or "3.7",
ssl_path = os.getenv("SSL_PATH") or "spec/fixtures/ssl"
}

Expand Down
2 changes: 1 addition & 1 deletion util/prove_ccm.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

CASSANDRA=${1:-2.2.4}
CASSANDRA=${1}

ccm stop
ccm create lua_cassandra_prove -v binary:$CASSANDRA -n 3
Expand Down

0 comments on commit 9e15814

Please sign in to comment.