From af8613096d9a6aa2debee1da78d79bc26431f087 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Sat, 15 Jun 2019 15:04:15 +0200 Subject: [PATCH] Add automatic linting --- .travis.yml | 1 + appveyor.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9a26dd9..c1565aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 7e98f9d..2da5ba5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,6 +16,7 @@ build_script: - yarn package appx test_script: + - yarn lint - yarn test artifacts: