Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Travis CI configuration #10

Merged
merged 1 commit into from
Apr 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
env:
- GOPATH=$HOME/go PATH=$GOPATH/bin:$PATH
before_script:
- npm install -g coveralls codeclimate-test-reporter
- go get github.com/jpmonette/apexcov
script:
- apexcov --username="${CI_USERNAME}" --password="${CI_PASSWORD}"
- "cat ./coverage/lcov.info | coveralls"
- codeclimate-test-reporter < ./coverage/lcov.info
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ test:
timeout: 600
post:
- apexcov --username="${CI_USERNAME}" --password="${CI_PASSWORD}"
- codeclimate-test-reporter ./coverage/lcov.info
- cat ./coverage/lcov.info | coveralls
- codeclimate-test-reporter < ./coverage/lcov.info