From 591c28d5cc219f912fb1fc6cf8fd9ae37b9b5308 Mon Sep 17 00:00:00 2001 From: Nikita Kalyazin Date: Mon, 30 Jun 2014 00:18:58 +0400 Subject: [PATCH] travis: add cscope build and test --- .travis.yml | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4687274..96a0d71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,14 @@ notifications: node_js: - "0.10" + +install: + - wget -O ../cscope.tar.gz http://sourceforge.net/projects/cscope/files/cscope/15.8a/cscope-15.8a.tar.gz/download + - tar xf ../cscope.tar.gz -C .. + - cd cscope-15.8a + - ./configure + - make + - cd - + +before_script: + - export PATH=../cscope-15.8a/src:${PATH} diff --git a/package.json b/package.json index a77efdc..baedd6f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "node.js wrapper for cscope source code indexer", "main": "cscope.js", "scripts": { - "test": "grunt lint" + "test": "grunt test" }, "repository": { "type": "git",