From 34c0f6357c49a1919392c96a288a9b0060003882 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 15 Jul 2019 19:42:13 +0200 Subject: [PATCH] update --- .travis.yml | 10 ++++------ package.json | 3 +-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e71dafe..42d74707 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,25 +11,22 @@ cache: - node_modules - public -# will run `npm install` automatically here - before_install: - sudo apt-get -qq update - sudo apt-get install python3-pip - sudo -H pip3 install --upgrade pip before_script: - # https://docs.codeclimate.com/docs/travis-ci-test-coverage - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - - ./cc-test-reporter before-build + - "./cc-test-reporter before-build" script: - npm test - travis_wait 60 npm run build after_script: - - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT + - "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT" after_success: - pip install --user awscli @@ -38,4 +35,5 @@ after_success: notifications: email: false - slack: kremalicious:LXLUCjkY5yaZaC9vHl9vIORr + slack: + secure: C5ZRKCMgwypPc765q2JvisCWfxou5x31hKNrSwRhWW6b5WurdWPvc0t/XigF94bCAMDlNjXfUrHZVJCjcnRuNTRZz7pzzNzEt1rmn2haQ5HRyydcW0ToKERUwBDazgng6hhde+2I4RH7H8cLOKGCPnh7DFBWOYXOoiPne5mnLlI= diff --git a/package.json b/package.json index e5c1ad64..024572c6 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,10 @@ "copy": "cp -R content/media/ public", "format": "run-p 'prettier -- --write' format:css", "format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'", - "lint": "run-p --continue-on-error lint:js lint:css lint:yaml lint:md", + "lint": "run-p --continue-on-error lint:js lint:css lint:md", "lint:js": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .js,.jsx .", "lint:css": "prettier-stylelint --quiet 'src/**/*.{css,scss}'", "lint:md": "markdownlint './**/*.{md,markdown}' --ignore './{node_modules,public,.cache,.git}/**/*'", - "lint:yaml": "prettier '**/*.{yml,yaml}' --list-different", "prettier": "prettier '**/*.{js,jsx,yml,yaml,md}'", "test": "npm run lint && jest --coverage", "test:watch": "npm run lint && jest --coverage --watch",