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 sudo: false
language: node_js language: node_js
@ -13,12 +14,15 @@ matrix:
script: script:
- npm run lint - npm run lint
- npm run test - npm run test
- make test - npm run coverage
before_script: before_script:
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start - sh -e /etc/init.d/xvfb start
after_success:
- npm run coverage-publish
addons: addons:
firefox: 'latest' firefox: 'latest'
apt: 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: environment:
matrix: matrix:
- nodejs_version: "6" - nodejs_version: "6"
- nodejs_version: "8" - nodejs_version: "8"
init: matrix:
- git config --global core.autocrlf input fast_finish: true
# cache:
# - node_modules
platform:
- x64
install: 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 - node --version
- npm --version - npm --version
# Install our package dependencies
- npm install - npm install
test_script: test_script:
- npm test - npm run test:node
build: off 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: machine:
node: node:
version: stable version: stable
test:
post:
- npm run coverage -- --upload
dependencies: dependencies:
pre: pre:
- google-chrome --version - google-chrome --version