Skip to content

Commit 1173d12

Browse files
committed
try to add travis support
1 parent 897fba8 commit 1173d12

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
node_js:
3+
- "0.12"
4+
- "iojs"
5+
cache: false
6+
7+
before_script:
8+
- uname -a
9+
- lsb_release -a
10+
- curl http://tarantool.org/dist/public.key | sudo apt-key add -
11+
- echo "deb http://tarantool.org/dist/master/ubuntu `lsb_release -c -s` main" | sudo tee -a /etc/apt/sources.list.d/tarantool.list
12+
- sudo apt-get update
13+
14+
script:
15+
- sudo apt-get -y install tarantool
16+
- ./test/box.lua

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Tarantool driver for 1.6",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha"
7+
"test": "./node_modules/mocha/bin/mocha"
88
},
99
"repository": {
1010
"type": "git",

test/app.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
var fs = require('fs');
55
var assert = require('assert');
66
var TarantoolConnection = require('../lib/connection');
7-
//var cp = require('child_process');
8-
97

108
describe('Tarantool Connection tests', function(){
119
before(function(){

0 commit comments

Comments
 (0)