Add shellcheck into travis CI.
@@ -11,6 +11,7 @@ services:
git:
depth: 1
stages:
+ - CheckShell
- Release
- IntegrateTest
before_install:
@@ -18,6 +19,11 @@ before_install:
jobs:
include:
+ - stage: CheckShell
+ script:
+ # Fail if any of these files have warnings
+ - shellcheck scripts/*.sh env.sh
+
- stage: Release
name: Release for Integrate Test
language: node_js
