Skip to content

Commit

Permalink
Migrate from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
I removed the Travis badge instead of replacing it with a GitHub Actions
one because it doesn't seem very necessary to me, as you can see whether
a commit has failing checks directly in the GitHub UI.
  • Loading branch information
triallax authored and sharkdp committed Mar 25, 2022
1 parent c73b2d0 commit d30194e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 17 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: "lts/*"

- name: Install dependencies
run: npm ci

- name: Build Insect
run: npm run build

- name: Run tests
run: npm test
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.github/
/.psci*
/.pulp-cache
/.travis.yml
/binaries
/bower_components/
/build.sh
Expand Down
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,6 @@ For Android, install [Termux](https://termux.com/) from [F-Droid](https://f-droi

## Development

[![Build
Status](https://api.travis-ci.org/sharkdp/insect.svg?branch=master)](https://travis-ci.org/sharkdp/insect)

Insect is written in PureScript (see [Getting
Started](https://github.com/purescript/documentation/blob/master/guides/Getting-Started.md)
guide). You can install all dependencies and build the whole project by
Expand Down
2 changes: 0 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Development
-----------

[![Build Status](https://api.travis-ci.org/sharkdp/insect.svg?branch=master)](https://travis-ci.org/sharkdp/insect)

Insect is written in PureScript (see [Getting Started](https://github.com/purescript/documentation/blob/master/guides/Getting-Started.md) guide). You can install all dependencies and build the whole project by running:

npm install
Expand Down

0 comments on commit d30194e

Please sign in to comment.