UNPKG

ddl-manager

Version:

store postgres procedures and triggers in files

38 lines (29 loc) 841 B
version: 2 jobs: build: docker: - image: circleci/node:7.10 - image: postgres:9.5 environment: - POSTGRES_DB: ddl-manager - POSTGRES_USER: ubuntu - POSTGRES_PASSWORD: ubuntu working_directory: ~/ddl-manager steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: npm install - run: node ./scripts/init.js - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # eslint src - run: npm run lint # run tests! - run: npm run test