|
@@ -1,7 +1,5 @@
|
|
language: node_js
|
|
language: node_js
|
|
node_js:
|
|
node_js:
|
|
- - "0.10"
|
|
|
|
- - "0.12"
|
|
|
|
- "4"
|
|
- "4"
|
|
- "6"
|
|
- "6"
|
|
- "7"
|
|
- "7"
|
|
@@ -17,17 +15,7 @@ cache:
|
|
- node_modules
|
|
- node_modules
|
|
|
|
|
|
# scripts
|
|
# scripts
|
|
-script:
|
|
|
|
- - >
|
|
|
|
- if [ "$TRAVIS_NODE_VERSION" == "0.10" -o "$TRAVIS_NODE_VERSION" == "0.12" ]; then
|
|
|
|
- printf
|
|
|
|
- "\n\n----------------------------------------\n
|
|
|
|
- \e[35m----- Running tests in LEGACY mode -----\e[0m\n
|
|
|
|
- ----------------------------------------\n\n\n"
|
|
|
|
- && grunt test-old; else
|
|
|
|
- echo "Running normal tests"
|
|
|
|
- && grunt test;
|
|
|
|
- fi
|
|
|
|
|
|
+script: grunt test
|
|
|
|
|
|
# hooks
|
|
# hooks
|
|
notifications:
|
|
notifications:
|