Skip to content

Instantly share code, notes, and snippets.

@doron2402
Created July 13, 2017 21:18
Show Gist options
  • Save doron2402/3c80f2081724054f7d7fdc4ab6729102 to your computer and use it in GitHub Desktop.
Save doron2402/3c80f2081724054f7d7fdc4ab6729102 to your computer and use it in GitHub Desktop.
AWS CodeBuild buildspec.yml
version: 0.2
phases:
install:
commands:
- echo Installing Mocha...
- npm install -g mocha
pre_build:
commands:
- echo Installing source NPM dependencies...
- npm install unit.js
build:
commands:
- echo Build started on `date`
- echo Compiling the Node.js code
- mocha HelloWorld.js
post_build:
commands:
- echo Build completed on `date`
artifacts:
files:
- HelloWorld.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment