From 61b2c441578b26ea8ff10440f5bdf98b91b898e2 Mon Sep 17 00:00:00 2001 From: FND Date: Thu, 17 Dec 2020 18:08:04 +0100 Subject: [PATCH] Replace Travis CI with GitHub Actions Travis is pretty much dead in the process, added ppc64le as suggested by @kishorkunal-raj --- .github/workflows/tests.yaml | 22 ++++++++++++++++++++++ .travis.yml | 7 ------- Readme.md | 2 +- 3 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/tests.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..2ddc158 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,22 @@ +name: tests +on: push +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + architecture: + - x64 + - ppc64le + node-version: + - 14.x + - 12.x + - 10.x + name: ${{ matrix.node-version }} on ${{ matrix.architecture }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + architecture: ${{ matrix.architecture }} + node-version: ${{ matrix.node-version }} + - run: npm install-test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 872539f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - "9.10" - - "8.7" - - "7.10" - - "6.10" - - "6.3" diff --git a/Readme.md b/Readme.md index 2873590..f749f63 100644 --- a/Readme.md +++ b/Readme.md @@ -1,5 +1,5 @@ # [Base62.js](http://libraries.io/npm/base62) -[![build status](https://secure.travis-ci.org/base62/base62.js.svg)](http://travis-ci.org/base62/base62.js) +[![build status](https://github.com/base64/base64.js/workflows/tests/badge.svg)](https://github.com/base64/base64.js/actions) [![npm version](https://badge.fury.io/js/base62.svg)](http://badge.fury.io/js/base62) [![devDependency Status](https://david-dm.org/base62/base62.js/dev-status.svg?theme=shields.io)](https://david-dm.org/base62/base62.js#info=devDependencies) [![Gitter chat](http://img.shields.io/badge/gitter-base62/base62.js-brightgreen.svg)](https://gitter.im/base62/base62.js)