Missing npm install from travis before_script
Fixed build conditions