Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Ubuntu1204_nodejs

=================

Shippable CI image for Node.js on Ubuntu 12.04. Available Node.js versions:

  1. 0.12
  2. 5.4.0
  3. 5.6.0
  4. 5.8.0

How to use

In addition to the standard shippable image this image is provided with java
and dynamodb local has been downloaded and extracted to /tmp; it is now possible
to start dynamodb locally by adding :

before_install:
   - java -Djava.library.path=/tmp/DynamoDBLocal_lib -jar /tmp/DynamoDBLocal.jar -inMemory &
   - sleep 2

You can use this image to run node.js builds on Shippable. Just update your
shippable.yml file and add the build_image directive. You should also
activate the appropriate nvm so your build runs against the
correct version of node.js. Here's a sample YML file to get you going:

language: node_js
node_js:
  - 0.12

build_image: shippableimages/ubuntu1204_nodejs

before_install:
  # activate the node.js version
  - source ~/.nvm/nvm.sh && nvm install $SHIPPABLE_NODE_VERSION
  - node --version
  - npm install -g grunt-cli

install:
  - npm install

script:
  - npm test
Docker Pull Command
Owner
toincrease

Comments (0)