From d2c85ef030b54a051a88ae79112a070620f3dfb1 Mon Sep 17 00:00:00 2001 From: Arjan van Wijk Date: Tue, 19 Dec 2017 18:42:28 +0100 Subject: [PATCH] Update travis configuration --- .travis.yml | 12 +++++------- README.md | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 420ad12..e8776a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: node_js +cache: yarn + node_js: - 'stable' - '8' @@ -7,20 +9,16 @@ node_js: sudo: false script: - - npm run build - - npm run validate - -after_script: - - node_modules/.bin/coveralls < coverage/lcov.info + - yarn test before_deploy: - - npm run build:dist && node ./script/package-dist.js + - npm yarn build deploy: - provider: npm email: 'thanarie@gmail.com' api_key: - secure: '' + secure: 'PzngzaE16W+kMq0FKQWc77m20Zvo3+6O7JCDjdE8WSD6A6zs573fEQKtie0QGH1hSW99pakGN+kVdCFPkXZaj9by61cfwWpQ0WZ4S3umyCQ1Otlh8tblqC6pVdJ/4XIDjghMFtRsg5NX6rjL2wwy0XVnt1dik4F/bM8Pkabjgu7StvxPRK3q4ClQn8t8Qgu7XqLqTUGd4SyjayOhH4AnjerI27/qFwjMUh/aQU7jPuwwxxxn285dIcc82GaGDtjJzcozTTe7cUVkTmPBzjrH2CQAgyFGbYNIjcb8Zdvphpe7wWvQsyvWDKs0e999hpBrckWLw8JuUS4WMhjhelH5TagkF75fcTGVVfDWn119E9IxN3IwQbZTCLmewyaKSR7Bqq+O1F99b6VPQ0tEt4SyXjIMND+V82JbURfFS2WqU5lfAeK10H1dMoFnKA2NkYbamCtlH79sjVCUEllGlUNaQOErbKINdDEJfSW5VTxM7MGbAOsTnoIHSduLm+4bfFZyeunbySa7Fg2uukZKnDuCeVS315ZmTiAedR6wcxgw2MgTBQchw9sLlYcBtfrxk37Bo/bgdPYOlbcv1ScpIhZeQkdWIB6gHxECjxsUE6kPJgL2OqjMlLC3sjxLCm3tBQ04ueD2w73kwPTm/MPFomvUFfTq/Gpqg5nYLF1Yp4RQ360=' on: tags: true node: '8' diff --git a/README.md b/README.md index 1454aa0..919034f 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ Will output: ### Production -This library uses joi to validate the input config structure, but it's quite large. +This library uses [Joi](https://github.com/hapijs/joi) to validate the input config structure, but it's quite large. That's why they are added within `process.env.NODE_ENV !== 'production'` checks, which means that your build process can strip it out.