Skip to content

Commit

Permalink
Replace GitHub Actions workflow with Travis CI (#4)
Browse files Browse the repository at this point in the history
Replace GitHub Actions workflow with Travis CI
  • Loading branch information
kitten committed Nov 14, 2019
2 parents aa89ad7 + 64be686 commit 826c8e3
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 40 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ci.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
notifications:
email: false

branches:
only:
- master
- develop
- /^v\d+\.\d+\.\d+/

language: node_js
cache:
yarn: true
node_js:
- '10'

matrix:
fast_finish: true

install:
- yarn install --frozen-lockfile --non-interactive

jobs:
include:
- stage: Build
script:
- yarn run build

- stage: Lint and Check
script:
- yarn run check
- yarn run lint

- stage: Test
script:
- yarn run coverage
- yarn run codecov
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<a href="https://npmjs.com/package/@urql/exchange-suspense">
<img alt="NPM Version" src="https://img.shields.io/npm/v/@urql/exchange-suspense.svg" />
</a>
<a href="https://github.com/FormidableLabs/urql-exchange-suspense/actions">
<img alt="Test Status" src="https://github.com/FormidableLabs/urql-exchange-suspense/workflows/CI/badge.svg" />
<a href="https://travis-ci.org/FormidableLabs/urql-exchange-suspense">
<img alt="Test Status" src="https://api.travis-ci.org/FormidableLabs/urql-exchange-suspense.svg?branch=master" />
</a>
<a href="https://codecov.io/gh/FormidableLabs/urql-exchange-suspense">
<img alt="Test Coverage" src="https://codecov.io/gh/FormidableLabs/urql-exchange-suspense/branch/master/graph/badge.svg" />
Expand Down

0 comments on commit 826c8e3

Please sign in to comment.