Add build script

This commit is contained in:
Jake Howard 2016-02-21 16:41:11 +00:00
parent e2ec5c89f1
commit 501b9ae5d6
2 changed files with 16 additions and 2 deletions

View file

@ -1,10 +1,10 @@
machine: machine:
node: node:
version: 5.2.0 version: 5.5.0
dependencies: dependencies:
pre: pre:
- npm install - scripts/build
test: test:
override: override:

14
scripts/build Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
if [ -z "$NVM_DIR" ]
then
NVM_DIR="~/.nvm"
fi
. $NVM_DIR/nvm.sh
nvm install
nvm use
set -e
npm install