Skip to content

Commit

Permalink
Updates README build status; Add test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Shackelford committed Sep 20, 2016
1 parent 5a5e6f9 commit 282232f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,16 @@ language: node_js
node_js:
- '6'
- '4'

install:
- script/bootstrap
script:
- script/test

cache:
directories:
- node_modules

branches:
only:
- master
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

VSCO’s [DCDR](https://github.com/vsco/dcdr) (Decider) package for Node.js

[![Build Status](https://travis-ci.com/vsco/dcdr-js.svg?token=LuhP5dYo5sYL6Z88n4sW&branch=master)](https://travis-ci.com/vsco/dcdr-js)
[![Build Status](https://travis-ci.org/vsco/dcdr-js.svg?branch=master)](https://travis-ci.org/vsco/dcdr-js)

## Overview

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dcdr",
"version": "1.0.1",
"version": "1.0.0",
"description": "VSCO's DCDR (Decider) package for Node.js",
"license": "MIT",
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions script/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -e
# Run tests
npm test

0 comments on commit 282232f

Please sign in to comment.