Skip to content

Commit 50f211a

Browse files
committed
Initial commit for open source
0 parents  commit 50f211a

30 files changed

+2457
-0
lines changed

.circleci/config.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
common:
2+
godel-cache:
3+
key: &godel-cache-key v2-godel-cache-{{ checksum "godelw" }}-{{ checksum "godel/config/godel.yml" }}
4+
<<: &restore-godel-cache
5+
restore_cache:
6+
keys:
7+
- *godel-cache-key
8+
<<: &save-godel-cache
9+
save_cache:
10+
key: *godel-cache-key
11+
paths:
12+
- ~/.godel
13+
14+
test-results:
15+
dir: &results-dir /tmp/test-results
16+
<<: &store-results
17+
store_test_results:
18+
path: *results-dir
19+
<<: &store-artifacts
20+
store_artifacts:
21+
path: *results-dir
22+
destination: test-results
23+
24+
### Jobs ###
25+
26+
version: 2
27+
jobs:
28+
verify:
29+
working_directory: /go/src/github.com/palantir/go-githubapp
30+
environment:
31+
TESTS_DIR: *results-dir
32+
docker:
33+
- image: nmiyake/go:go-darwin-linux-1.11-t134
34+
steps:
35+
- checkout
36+
- *restore-godel-cache
37+
- run: ./godelw version
38+
- *save-godel-cache
39+
- run: mkdir -p "${TESTS_DIR}"
40+
- run: ./godelw verify --apply=false --junit-output="$TESTS_DIR/$CIRCLE_PROJECT_REPONAME-tests.xml"
41+
- *store-results
42+
- *store-artifacts
43+
44+
### Workflows ###
45+
46+
workflows:
47+
version: 2
48+
build:
49+
jobs:
50+
- verify:
51+
filters: { tags: { only: /.*/ } }

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/build/
2+
/vendor/
3+
4+
# IDEA
5+
*.iml
6+
*.iws
7+
*.ipr
8+
.idea/

Gopkg.lock

+225
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ignored = [
2+
"google.golang.org/appengine/urlfetch",
3+
"github.com/golang/protobuf/proto"
4+
]
5+
6+
[prune]
7+
non-go = true
8+
go-tests = true
9+
unused-packages = true

0 commit comments

Comments
 (0)