diff --git a/.travis.yml b/.travis.yml index af201abaec..5102ee5ff2 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,12 +14,15 @@ matrix: script: - npm run lint - npm run test - - make test + - npm run coverage before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start +after_success: + - npm run coverage-publish + addons: firefox: 'latest' apt: diff --git a/appveyor.yml b/appveyor.yml index ba93339ba8..046bf91084 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 0000000000..a7da2e54f3 --- /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 d67b6ae70b..00096937fd 100644 --- a/circle.yml +++ b/circle.yml @@ -1,11 +1,8 @@ +# 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 -test: - post: - - npm run coverage -- --upload - dependencies: pre: - google-chrome --version