forked from Kong/kong
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: 688e638cf420f86e39a574eb0c98a36ceb41e500
- Loading branch information
1 parent
cd59b34
commit 9655d44
Showing
17 changed files
with
48 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bce95eeda6a509f6f92d9e7537089a17006ee45b |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
source ./versions.sh | ||
|
||
sudo apt-get update | ||
|
||
# Installing dependencies required to build development rocks | ||
sudo apt-get install wget curl tar make gcc unzip git liblua5.1-0-dev | ||
|
||
# Installing dependencies required for Kong | ||
sudo apt-get install sudo netcat lua5.1 openssl libpcre3 dnsmasq | ||
|
||
# Installing Kong and its dependencies | ||
sudo dpkg -i ./.travis/kong-0.3.0travis.precise_all.deb |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
local ansicolors = require 'ansicolors' | ||
|
||
return function(options) | ||
local handler = require 'busted.outputHandlers.utfTerminal'(options) | ||
|
||
handler.fileStart = function(file) | ||
io.write('\n' .. ansicolors('%{cyan}' .. file.name) .. ':') | ||
end | ||
|
||
handler.testStart = function(element, parent, status, debug) | ||
io.write('\n ' .. handler.getFullName(element) .. ' ... ') | ||
io.flush() | ||
end | ||
|
||
local busted = require 'busted' | ||
|
||
busted.subscribe({ 'file', 'start' }, handler.fileStart) | ||
busted.subscribe({ 'test', 'start' }, handler.testStart) | ||
|
||
return handler | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,4 +190,4 @@ end | |
-- Add the default env to our spec_helper | ||
_M.add_env(_M.TEST_CONF_FILE) | ||
|
||
return _M | ||
return _M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
# Travis only | ||
CASSANDRA_VERSION=2.1.5 | ||
|
||
# Travis and package builder | ||
LUAROCKS_VERSION=2.2.2 | ||
OPENRESTY_VERSION=1.7.10.2rc0 | ||
|
||
# Package builder only | ||
LUA_VERSION=5.1.4 | ||
PCRE_VERSION=8.36 | ||
KONG_VERSION=0.2.0-2 | ||
OPENSSL_VERSION=1.0.2a | ||
CASSANDRA_VERSION=2.1.5 |