Skip to content

Commit

Permalink
upgrade to circleci 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Jun 21, 2018
1 parent 733f5c7 commit e4e7d66
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
machine:
node:
version: 8.11.3
dependencies:
pre:
- "npm i -g mocha"
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:8.11.3

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4

working_directory: ~/repo

steps:
- checkout

# install dependencies
- run: npm install

# run tests
- run: npm run test

0 comments on commit e4e7d66

Please sign in to comment.