Skip to content

Commit 7306ab0

Browse files
committed
add circle yml
1 parent 533a070 commit 7306ab0

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
.package(url: "https://github.com/vapor/async.git", .branch("beta")),
1313

1414
// Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.
15-
.package(url: "https://github.com/vapor/fluent.git", .branch("beta")),
15+
.package(url: "https://github.com/vapor/fluent.git", .branch("benchmark-await")),
1616

1717
// Pure Swift, async/non-blocking client for PostgreSQL.
1818
.package(url: "https://github.com/vapor/postgresql.git", .branch("beta")),

circle.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: 2
2+
3+
jobs:
4+
macos:
5+
macos:
6+
xcode: "9.0"
7+
steps:
8+
# - run: brew install postgresql
9+
# - run: brew services start postgresql
10+
- checkout
11+
- run: swift build
12+
# - run: swift build -c release
13+
# - run: swift test
14+
15+
linux:
16+
docker:
17+
- image: swift:4.0
18+
- image: circleci/postgres:latest
19+
environment:
20+
POSTGRES_USER: postgres
21+
POSTGRES_DB: postgres
22+
POSTGRES_PASSWORD: ""
23+
steps:
24+
- run: apt-get install -yq libssl-dev
25+
- checkout
26+
- run: swift build
27+
# - run: swift build -c release
28+
- run: swift test
29+
30+
workflows:
31+
version: 2
32+
tests:
33+
jobs:
34+
- macos
35+
- linux
36+

0 commit comments

Comments
 (0)