Merge pull request #15 from libp2p/automatic-ci-script-update

Updating CI files
This commit is contained in:
Richard Schneider 2017-12-17 11:16:52 +13:00 committed by GitHub
commit b4518e0ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 17 deletions

View File

@ -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:

View File

@ -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
# cache:
# - node_modules
platform:
- x64
matrix:
fast_finish: true
install:
- ps: Install-Product node $env:nodejs_version $env:platform
# Install Node.js
- ps: Install-Product node $env:nodejs_version
# Upgrade npm
- npm install -g npm
# 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}"

2
ci/Jenkinsfile vendored Normal file
View File

@ -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()

View File

@ -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