Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
chore: enable Travis for CI
Browse files Browse the repository at this point in the history
Jenkins is no longer a thing, hence enable Travis.
  • Loading branch information
vmx committed Feb 19, 2019
1 parent 4a30d3f commit 51a190b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 25 deletions.
55 changes: 34 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
# 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
cache: npm
stages:
- check
- test
- cov

matrix:
node_js:
- '10'

os:
- linux
- osx
- windows

script: npx nyc -s npm run test:node -- --bail
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov

jobs:
include:
- node_js: 6
env: CXX=g++-4.8
- node_js: 8
env: CXX=g++-4.8
- stage: check
script:
- npx aegir commitlint --travis
- npx aegir dep-check
- npm run lint

script:
- npm run lint
- npm run test
- npm run coverage
- stage: test
name: chrome
addons:
chrome: stable
script: npx aegir test -t browser -t webworker

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- stage: test
name: firefox
addons:
firefox: latest
script: npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless

addons:
firefox: 'latest'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
notifications:
email: false
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPLD-blue.svg?style=flat-square)](http://github.com/ipld/ipld)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Travis CI](https://flat.badgen.net/travis/ipld/js-ipld-zcash)](https://travis-ci.com/ipld/js-ipld-zcash)
[![Coverage](https://coveralls.io/repos/github/ipld/js-ipld-zcash/badge.svg?branch=master)](https://coveralls.io/github/ipld/js-ipld-zcash?branch=master)
[![Travis](https://travis-ci.org/ipld/js-ipld-zcash.svg?branch=master)](https://travis-ci.org/ipld/js-ipld-zcash)
[![Circle](https://circleci.com/gh/ipld/js-ipld-zcash.svg?style=svg)](https://circleci.com/gh/ipld/js-ipld-zcash)
[![](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![](https://david-dm.org/ipld/js-ipld-zcash.svg?style=flat-square)](https://david-dm.org/ipld/js-ipld-zcash)
[![](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) [![Greenkeeper badge](https://badges.greenkeeper.io/ipld/js-ipld-zcash.svg)](https://greenkeeper.io/)
Expand Down
2 changes: 0 additions & 2 deletions ci/Jenkinsfile

This file was deleted.

0 comments on commit 51a190b

Please sign in to comment.