Fix: .travis.yml does not trigger travis action
MODIFY
.travis.yml
.travis.yml
@@ -94,6 +94,5 @@ install:
fi
- npm i > /dev/null
-script
- - npm test
+script:
- /bin/bash build_test.sh

MODIFY
build_test.sh
build_test.sh
@@ -18,3 +18,7 @@ fi
if [ ${DO_BUILD} -eq 1 ]; then
cordova-paramedic --verbose --platform ${CORDOVA_PLATFORM} --justBuild --plugin ./tests;
fi
+
+if [[ ${CORDOVA_PLATFORM} == "browser" ]]; then
+ npm run test
+fi

Fix: .travis.yml does not trigger travis action