Add automatic linting
This commit is contained in:
@@ -28,6 +28,7 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- yarn run build
|
- yarn run build
|
||||||
|
- yarn lint
|
||||||
- yarn test
|
- 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
|
- 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
|
- 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
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ build_script:
|
|||||||
- yarn package appx
|
- yarn package appx
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
- yarn lint
|
||||||
- yarn test
|
- yarn test
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
Reference in New Issue
Block a user