diff --git a/.travis.yml b/.travis.yml index 22128042..98c09115 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,15 +7,17 @@ sudo: false before_install: - npm config set spin false - - npm install -g bower gulp + - npm install -g bower - bower --version - npm install phantomjs-prebuilt - phantomjs --version - - npm run build install: - npm install - bower install +after_install: + - npm run build + script: - npm test diff --git a/README.md b/README.md index cacfe287..a618733e 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,9 @@ > A powerful, simple, promise-based `postMessage` library. -[![npm][npm-image]][npm-url] +[![npm](https://img.shields.io/npm/v/postmate.svg)][https://www.npmjs.com/package/postmate] [![Build Status](https://travis-ci.org/dollarshaveclub/postmate.svg?branch=master)](https://travis-ci.org/dollarshaveclub/postmate) -[npm-image]: https://img.shields.io/npm/v/postmate.svg?style=flat-square -[npm-url]: https://www.npmjs.com/package/postmate - _Postmate_ is a promise-based API built on `postMessage`. It allows a parent page to speak with a child `iFrame` across origins with minimal effort.