#!/bin/bash
set -e
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start

npm run clean
npm run build
npm test
npm run test:coverage
export PATH="$HOME/miniconda/bin:$PATH"
npm run docs

cd example
npm install
npm run clean
npm run build

#!/bin/bash
set -e
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start

npm run clean
npm run build
npm test
npm run test:coverage
export PATH="$HOME/miniconda/bin:$PATH"
npm run docs

--- 
+++ 
@@ -9,3 +9,8 @@
 npm run test:coverage
 export PATH="$HOME/miniconda/bin:$PATH"
 npm run docs
+
+cd example
+npm install
+npm run clean
+npm run build
Add the example to the travis script
