]> zoso.dev Git - buffer.git/commitdiff
remove travis; add github actions
authorFeross Aboukhadijeh <feross@feross.org>
Thu, 11 Feb 2021 03:36:01 +0000 (19:36 -0800)
committerFeross Aboukhadijeh <feross@feross.org>
Thu, 11 Feb 2021 03:36:01 +0000 (19:36 -0800)
.github/workflows/ci.yml [new file with mode: 0644]
.npmignore
.travis.yml [deleted file]
README.md

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644 (file)
index 0000000..910c8cf
--- /dev/null
@@ -0,0 +1,23 @@
+name: ci
+'on':
+  - push
+  - pull_request
+jobs:
+  test:
+    name: Node ${{ matrix.node }} / ${{ matrix.os }}
+    runs-on: ${{ matrix.os }}
+    strategy:
+      fail-fast: false
+      matrix:
+        os:
+          - ubuntu-latest
+        node:
+          - '14'
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@v2
+        with:
+          node-version: ${{ runner.node }}
+      - run: npm install
+      - run: npm run build --if-present
+      - run: npm test
index 113cdb576dd245fc583460013ab08426d831adb1..eae8087f2f7ecf2bb1f29c236387c24a7e44bae8 100644 (file)
@@ -1,6 +1,5 @@
 .airtap.yml
 .github/
-.travis.yml
 bin/
 perf/
 test/
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index cd49a64..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-language: node_js
-node_js:
-  - lts/*
-sudo: false
-addons:
-  sauce_connect: true
-  hosts:
-    - airtap.local
-env:
-  global:
-  - secure: AUsK+8fYSpwIMHcVt8Mu9SpG9RPHp4XDAwCQfpU3d5U65q8OVVC6C+XjvnNmEd2PoEJRHem8ZXEyRVfGM1sttKZLZP70TEKZOpOiRQnZiTQCAJ92TfGsDj/F4LoWSjUZUpfeg9b3iSp8G5dVw3+q9QZPIu6eykASK6bfcg//Cyg=
-  - secure: eQBKJWu7XbhAN4ZvOOhMenC0IPpoYj+wZVVzzsLwUppfJqlrHV0CUW8rJdvZNiaGhYhoyHTnAcynpTE5kZfg3XjevOvF8PGY5wUYCki9BI+rp+pvVPZE/DNUAQpFR2gd2nxMJ4kYv7GVb6i/DfuqJa0h8IuY4zcMuKWwbQd3Az8=
index 451e23576b320ad1c6348b75a958cf8a4b0c1c6b..ec3f45b0ff077fcf395f2622912cd5aa751d0c4a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
-# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
+# buffer [![ci][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
 
-[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg
-[travis-url]: https://travis-ci.org/feross/buffer
+[ci-image]: https://img.shields.io/github/workflow/status/feross/buffer/ci/master
+[ci-url]: https://github.com/feross/buffer/actions
 [npm-image]: https://img.shields.io/npm/v/buffer.svg
 [npm-url]: https://npmjs.org/package/buffer
 [downloads-image]: https://img.shields.io/npm/dm/buffer.svg