Skip to content

Commit 6d34794

Browse files
committed
Switch builds to circle
1 parent eeed7c5 commit 6d34794

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

.travis.yml

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

circle.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/build
5+
docker:
6+
- image: jimmycuadra/rust:1.19.0
7+
- image: postgres:9.6
8+
environment:
9+
POSTGRES_PASSWORD: password
10+
steps:
11+
- checkout
12+
- restore_cache:
13+
key: registry
14+
- run: cargo generate-lockfile
15+
- save_cache:
16+
key: registry-{{ epoch }}
17+
paths:
18+
- ~/.cargo/registry/index
19+
- restore_cache:
20+
key: dependencies-1.19-{{ checksum "Cargo.lock" }}
21+
- run: cargo test
22+
- save_cache:
23+
key: dependencies-1.19-{{ checksum "Cargo.lock" }}
24+
paths:
25+
- target
26+
- ~/.cargo/registry/cache

0 commit comments

Comments
 (0)