Skip to content

Commit

Permalink
ci: replace travis with actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Dec 20, 2019
1 parent 72951c5 commit 0c871e1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest] # windows-latest needs openssl installed in C:\OpenSSL-Win64\
node-version: [10.x, 12.x, 13.x]

steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1

- name: Install and test with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
bignum
======

[![Travis build status](https://travis-ci.org/justmoon/node-bignum.svg?branch=master)](https://travis-ci.org/justmoon/node-bignum)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/svyho17a4eq2f0a7/branch/master?svg=true)](https://ci.appveyor.com/project/RodVagg/node-bignum/branch/master)
[![Build Status](https://github.com/justmoon/node-bignum/workflows/CI/badge.svg)](https://github.com/justmoon/node-bignum/actions?workflow=CI)

Arbitrary precision integral arithmetic for Node.js using
OpenSSL.
Expand Down

0 comments on commit 0c871e1

Please sign in to comment.