Skip to content

Commit 14dc1bb

Browse files
committed
Drop Travis CI in favor of Circle CI
1 parent e20a07a commit 14dc1bb

File tree

5 files changed

+50
-36
lines changed

5 files changed

+50
-36
lines changed

.circleci/config.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
version: 2
2+
3+
shared: &shared
4+
working_directory: ~/repo
5+
docker:
6+
- image: docker:18.09.2
7+
steps:
8+
- checkout
9+
- setup_remote_docker
10+
- run:
11+
name: build image
12+
command: |
13+
docker build -f tests/Dockerfiles/$PG_VERSION -t franckverrot/git_fdw .
14+
- run:
15+
name: run tests
16+
command: |
17+
docker run franckverrot/git_fdw tests/run.sh $PG_VERSION
18+
19+
jobs:
20+
"9.4":
21+
<<: *shared
22+
environment:
23+
PG_VERSION=9.4
24+
"9.5":
25+
<<: *shared
26+
environment:
27+
PG_VERSION=9.5
28+
"9.6":
29+
<<: *shared
30+
environment:
31+
PG_VERSION=9.6
32+
"10":
33+
<<: *shared
34+
environment:
35+
PG_VERSION=10
36+
"11":
37+
<<: *shared
38+
environment:
39+
PG_VERSION=11
40+
41+
workflows:
42+
version: 2
43+
build:
44+
jobs:
45+
- "9.4"
46+
- "9.5"
47+
- "9.6"
48+
- "10"
49+
- "11"
50+
# - "12"

.travis.yml

-28
This file was deleted.

Rakefile

-4
This file was deleted.

scripts/build_image

-2
This file was deleted.

scripts/run_tests

-2
This file was deleted.

0 commit comments

Comments
 (0)