Skip to content

Commit

Permalink
Restore Travis CI. (#131)
Browse files Browse the repository at this point in the history
* Migrate back to using Travis CI.

* Remove GitHub Actions.

* Add build step before test.

* Remove Node 8 and 12 from matrix.

* Replace GitHub Actions badge with Travis badge.
  • Loading branch information
parkerziegler authored Nov 25, 2019
1 parent 5172fd4 commit d1763aa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 47 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/nodejs.yml

This file was deleted.

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

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 build
- stage: Test
script:
- yarn build
- yarn test
- stage: Build Examples
script:
- yarn build
- cd $TRAVIS_BUILD_DIR/examples
- for dir in $TRAVIS_BUILD_DIR/examples/*; do (cd "$dir"; yarn; yarn clean; yarn build; cd ../); done
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![npm](https://img.shields.io/npm/v/reason-urql.svg)](https://www.npmjs.com/package/reason-urql)
[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg)](#contributors)
[![Build Status](https://github.com/FormidableLabs/reason-urql/workflows/reason-urql%20CI/badge.svg)](https://github.com/FormidableLabs/reason-urql/actions)
[![Build Status](https://travis-ci.org/FormidableLabs/reason-urql.svg?branch=master)](https://travis-ci.org/FormidableLabs/reason-urql)
[![Maintenance Status][maintenance-image]](#maintenance-status)
[![Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/urql)

Expand Down

0 comments on commit d1763aa

Please sign in to comment.