Skip to content

Commit 0c871e1

Browse files
committedDec 20, 2019
ci: replace travis with actions
1 parent 72951c5 commit 0c871e1

File tree

3 files changed

+30
-19
lines changed

3 files changed

+30
-19
lines changed
 

‎.github/workflows/main.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ${{ matrix.os }}
9+
10+
strategy:
11+
matrix:
12+
os: [macos-latest, ubuntu-latest] # windows-latest needs openssl installed in C:\OpenSSL-Win64\
13+
node-version: [10.x, 12.x, 13.x]
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v1
18+
with:
19+
fetch-depth: 1
20+
21+
- name: Install and test with Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- run: npm install
26+
- run: npm run build --if-present
27+
- run: npm test
28+
env:
29+
CI: true

‎.travis.yml

-17
This file was deleted.

‎README.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
bignum
22
======
33

4-
[![Travis build status](https://travis-ci.org/justmoon/node-bignum.svg?branch=master)](https://travis-ci.org/justmoon/node-bignum)
5-
[![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)
4+
[![Build Status](https://github.com/justmoon/node-bignum/workflows/CI/badge.svg)](https://github.com/justmoon/node-bignum/actions?workflow=CI)
65

76
Arbitrary precision integral arithmetic for Node.js using
87
OpenSSL.

0 commit comments

Comments
 (0)
Please sign in to comment.