Skip to content

Commit

Permalink
Test travis container + cache
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Feb 27, 2015
1 parent 67cca18 commit 21cd6ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
sudo: false

language: erlang

cache: apt

env:
- LUA=""

Expand All @@ -8,28 +12,28 @@ branches:
- master

before_install:
- sudo apt-get update
- sudo apt-get install libreadline-dev libncurses5-dev libpcre3 libpcre3-dev libssl-dev perl make lua5.1 lua5.1-dev
- apt-get update
- apt-get install libreadline-dev libncurses5-dev libpcre3 libpcre3-dev libssl-dev perl make lua5.1 lua5.1-dev
- wget http://openresty.org/download/ngx_openresty-1.7.7.2.tar.gz
- tar xzf ngx_openresty-1.7.7.2.tar.gz
- cd ngx_openresty-1.7.7.2/
- ./configure
- make
- sudo make install
- make install
- cd ..
- export PATH=$PATH:/usr/local/openresty/nginx/sbin
- wget http://luarocks.org/releases/luarocks-2.2.0.tar.gz
- tar xzf luarocks-2.2.0.tar.gz
- cd luarocks-2.2.0
- ./configure
- make build
- sudo make install
- make install
- cd ..
- sudo rm -rf /var/lib/cassandra/*
- rm -rf /var/lib/cassandra/*
- wget http://www.us.apache.org/dist/cassandra/2.1.2/apache-cassandra-2.1.2-bin.tar.gz && tar -xvzf apache-cassandra-2.1.2-bin.tar.gz && sudo sh apache-cassandra-2.1.2/bin/cassandra

install:
- sudo make install
- make install
- make dev

script: "make run-integration-tests FOLDER=spec"
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
To get started, <a href="https://www.clahub.com/agreements/Mashape/kong">sign the Contributor License Agreement</a>.
To get started, [sign the Contributor License Agreement](https://www.clahub.com/agreements/Mashape/kong).

0 comments on commit 21cd6ae

Please sign in to comment.