Skip to content

Commit

Permalink
ci(circle): add circle ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
exactlyaron committed Jan 24, 2019
1 parent 4e3dc98 commit 0258ff7
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
branches:
ignore:
- master

docker:
# specify the version you desire here
- image: circleci/node:dubnium
environment:
PG_CONNECTION_STRING: postgres://postgres:postgres@localhost:5432/circle_test
- image: circleci/postgres:9.6-alpine-postgis
environment:
POSTGRES_USER: postgres
POSTGRES_DB: circle_test

working_directory: ~/repo

steps:
- checkout

- run: npm install
# run tests!
- run: npm test

0 comments on commit 0258ff7

Please sign in to comment.