From 60aa50ae45d2bff1f6087bc916a2356908850586 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 2 Feb 2013 00:00:44 -0800 Subject: [PATCH] Add `env` and `script` to .travis.yml. Former-commit-id: 700479d45f2c0683a877bddc15cd33d804aec00a --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index b8aed37d4..affb26ffa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ language: node_js node_js: - 0.6 - 0.9 +env: + - TEST_COMMAND="node ./test/test.js" + - TEST_COMMAND="node ./test/test.js ./lodash.min.js" + - TEST_COMMAND="node ./test/test-build.js --time-limit 45" git: depth: 1 branches: @@ -10,3 +14,5 @@ branches: before_script: - "tar -xzvf vendor/closure-compiler.tar.gz -C vendor" - "tar -xzvf vendor/uglifyjs.tar.gz -C vendor" +script: + $TEST_COMMAND