mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Add env and script to .travis.yml.
Former-commit-id: 700479d45f2c0683a877bddc15cd33d804aec00a
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user