From: Feross Aboukhadijeh Date: Thu, 11 Feb 2021 03:36:01 +0000 (-0800) Subject: remove travis; add github actions X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=47b663f18f03ea0ec645dd32dc10adb90d4c6f08;p=buffer.git remove travis; add github actions --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..910c8cf --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.npmignore b/.npmignore index 113cdb5..eae8087 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,5 @@ .airtap.yml .github/ -.travis.yml bin/ perf/ test/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cd49a64..0000000 --- a/.travis.yml +++ /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= diff --git a/README.md b/README.md index 451e235..ec3f45b 100644 --- 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