From 152afd2256b5111d7db8ec9ec181cc034a1b4af7 Mon Sep 17 00:00:00 2001
From: Jack Reed <phillipjreed@gmail.com>
Date: Mon, 2 Nov 2020 14:10:51 -0700
Subject: [PATCH] Use GitHub actions for CI

---
 .github/workflows/node.js.yml | 25 +++++++++++++++++++++++++
 .travis.yml                   | 12 ------------
 2 files changed, 25 insertions(+), 12 deletions(-)
 create mode 100644 .github/workflows/node.js.yml
 delete mode 100644 .travis.yml

diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml
new file mode 100644
index 000000000..fce1892d5
--- /dev/null
+++ b/.github/workflows/node.js.yml
@@ -0,0 +1,25 @@
+# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
+# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
+
+name: Node.js CI
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Use Node.js 14.x
+      uses: actions/setup-node@v1
+      with:
+        node-version: 14.x
+    - run: npm install -g codecov
+    - run: npm install
+    - run: npm test
+    - run: codecov
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index baa554e51..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-language: node_js
-node_js:
-  - 'lts/*'
-install:
-  - npm install -g codecov
-
-before_script:
-  - npm install
-
-script:
-  - npm test
-  - codecov
-- 
GitLab