diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..281189e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +os: + - osx + - linux + +language: node_js + +node_js: + - 12 + +script: + - set -e + - echo "--script-before-sleep--" + - sleep 10 + - echo "--script-after-sleep-" + - npm run lint + - npm run build + - npm run test + - npm run publish + +after_failure: + - sleep 5 + - echo "--after-failure--" + +after_script: + - sleep 5 + - echo "--after-script--" + diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..c2f522a --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +os: unstable +cache: + - node_modules +environment: + matrix: + - nodejs_version: 12 +install: + - ps: Install-Product node $env:nodejs_version + - set CI=true + - npm install -g npm@latest + - set PATH=%APPDATA%\npm;%PATH% + - npm install +matrix: + fast_finish: true +build: off +version: '{build}' +shallow_clone: true +clone_depth: 1 +test_script: + - npm run lint + - npm run build + - npm run test + - npm run publish +