Add automatic linting

This commit is contained in:
Thomas Nordquist
2019-06-15 15:04:15 +02:00
parent 92e045297e
commit af8613096d
2 changed files with 2 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ install:
script:
- yarn run build
- yarn lint
- yarn test
- export TRAVIS_BUILD_NUMBER="" # Override travis build number since it is uses for tagging the binary version https://github.com/electron-userland/electron-builder/issues/3730
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run -e GH_TOKEN=$GH_TOKEN -e GIT_TAG=$TRAVIS_TAG --rm -v `pwd`:/app thomasnordquist/ui-test-recording-env sh -c "cd app && docker/testMounted.sh"; fi

View File

@@ -16,6 +16,7 @@ build_script:
- yarn package appx
test_script:
- yarn lint
- yarn test
artifacts: