Skip to content

Commit

Permalink
Add Travis CI support
Browse files Browse the repository at this point in the history
Adds Travis CI support and basic testing using Jest to improve code quality. Caught a bug with `fuzzAsync` in the process, which is why tests should exist 😄
  • Loading branch information
rarecoil authored Feb 6, 2019
1 parent 45753fd commit 8e9e87b
Show file tree
Hide file tree
Showing 10 changed files with 4,980 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: node_js

os:
- linux
- osx

node_js:
- node

branches:
only:
- master
- /^release-.*/

install:
- npm install
- npm run build

script:
npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sinkdweller

[![Known Vulnerabilities](https://snyk.io/test/github/rarecoil/sinkdweller/badge.svg?targetFile=package.json)](https://snyk.io/test/github/rarecoil/sinkdweller?targetFile=package.json) [![Dependencies](https://david-dm.org/rarecoil/sinkdweller.svg)](https://david-dm.org/)
[![Build Status](https://travis-ci.org/rarecoil/sinkdweller.svg?branch=master)](https://travis-ci.org/rarecoil/sinkdweller) [![Known Vulnerabilities](https://snyk.io/test/github/rarecoil/sinkdweller/badge.svg?targetFile=package.json)](https://snyk.io/test/github/rarecoil/sinkdweller?targetFile=package.json) [![Dependencies](https://david-dm.org/rarecoil/sinkdweller.svg)](https://david-dm.org/)

### A simple Node/TypeScript wrapper for [radamsa](https://www.ee.oulu.fi/roles/ouspg/Radamsa).

Expand Down
Empty file modified bin/radamsa_linux_x64
100644 → 100755
Empty file.
Empty file modified bin/radamsa_macos
100644 → 100755
Empty file.
Empty file modified bin/radamsa_windows.exe
100644 → 100755
Empty file.
17 changes: 17 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
}
Loading

0 comments on commit 8e9e87b

Please sign in to comment.