-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 970 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: erlang
env:
- LUA=""
branches:
only:
- 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
- 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
- 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
- cd ..
- sudo 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 dev
script: "make run-integration-tests FOLDER=spec"