From b2698593b13a67b7f5a5e661ae80443880b0c209 Mon Sep 17 00:00:00 2001 From: Victor Bjelkholm Date: Fri, 22 Dec 2017 15:10:29 +0100 Subject: [PATCH] Updating CI files This commit updates all CI scripts to the latest version --- .travis.yml | 2 ++ appveyor.yml | 25 ++++++++++++++----------- ci/Jenkinsfile | 2 ++ circle.yml | 1 + 4 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 ci/Jenkinsfile diff --git a/.travis.yml b/.travis.yml index c5ed64e0d..5102ee5ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories. sudo: false language: node_js @@ -13,6 +14,7 @@ matrix: script: - npm run lint - npm run test + - npm run coverage before_script: - export DISPLAY=:99.0 diff --git a/appveyor.yml b/appveyor.yml index ba93339ba..046bf9108 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,26 +1,29 @@ +# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories. +version: "{build}" + environment: matrix: - nodejs_version: "6" - nodejs_version: "8" -init: - - git config --global core.autocrlf input +matrix: + fast_finish: true -# cache: -# - node_modules +install: + # Install Node.js + - ps: Install-Product node $env:nodejs_version -platform: - - x64 + # Upgrade npm + - npm install -g npm -install: - - ps: Install-Product node $env:nodejs_version $env:platform + # Output our current versions for debugging - node --version - npm --version + + # Install our package dependencies - npm install test_script: - - npm test + - npm run test:node build: off - -version: "{build}" diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile new file mode 100644 index 000000000..a7da2e54f --- /dev/null +++ b/ci/Jenkinsfile @@ -0,0 +1,2 @@ +// Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories. +javascript() diff --git a/circle.yml b/circle.yml index cc36f04f0..e0338e62d 100644 --- a/circle.yml +++ b/circle.yml @@ -1,3 +1,4 @@ +# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories. machine: node: version: stable