Skip to content

Commit ef9cbe0

Browse files
committed
Move to circle 2.0
1 parent ff43a90 commit ef9cbe0

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

.circleci/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 2
2+
jobs:
3+
build:
4+
# working_directory: ~/appName
5+
docker:
6+
- image: ruby:2.3.3
7+
environment:
8+
PG_HOST: localhost
9+
PG_USER: ubuntu
10+
- image: circleci/postgres:9.5-ram
11+
environment:
12+
POSTGRES_USER: ubuntu
13+
POSTGRES_DB: circle_test
14+
steps:
15+
- checkout
16+
- run:
17+
name: Install Ruby Dependencies
18+
command: bundle install
19+
- run:
20+
name: Install Appraisals Dependencies
21+
command: bundle exec appraisal install
22+
- run:
23+
name: Run Appraisals Tests
24+
environment:
25+
POSTGRES_DB_DATABASE: circle_test
26+
POSTGRES_DB_USERNAME: ubuntu
27+
POSTGRES_DB_PASSWORD:
28+
command: bundle exec appraisal rspec

circle.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)