Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.

Commit 25bbe6d

Browse files
committed
Switch builds to travis
1 parent b60cc9b commit 25bbe6d

File tree

3 files changed

+27
-10
lines changed

3 files changed

+27
-10
lines changed

.travis.yml

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

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ The generated code requires rust-postgres 0.14 or 0.15 and Rust 1.15.0 or higher
1111

1212
Simply depend on the `postgres-derive` crate and register it as a plugin:
1313

14-
1514
Cargo.toml
1615
```toml
1716
# ...
1817

1918
[dependencies]
2019
postgres-derive = "0.3"
21-
postgres = "0.14"
20+
postgres = "0.15"
2221
```
2322

2423
lib.rs

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)