Skip to content
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ pipe-child.lsp
# guiserver
*.class

# coveralls (gcov)
*.gcov
*.gcda
*.gcno

# eclipse
.settings

Expand Down
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ matrix:
script:
- make -f makefile_mingw_utf8 CC=${CC} STRIP=${STRIP}

before_install:
- source ./ci/coveralls/before_install_${TRAVIS_OS_NAME}.sh

script:
- make CC="$CC"
- make CC="$CC --coverage"
- file ./newlisp && ./newlisp -v
- make testall

after_success:
- coveralls --exclude util
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ newLISP mirror
==============

[![Build Status](https://travis-ci.org/kosh04/newlisp.svg?branch=develop)](https://travis-ci.org/kosh04/newlisp)
[![Coverage Status](https://coveralls.io/repos/kosh04/newlisp/badge.svg?branch=feature%2Fcoveralls&service=github)](https://coveralls.io/github/kosh04/newlisp?branch=develop)
[![Build status](https://ci.appveyor.com/api/projects/status/qg6ijtx867q5fxnl/branch/develop?svg=true)](https://ci.appveyor.com/project/kosh04/newlisp/branch/develop)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/kosh04/newlisp)

Expand All @@ -25,6 +26,7 @@ The final goal is newLISP development introduces DVCS (Git, Mercurial, etc) in o

- [Source Archives](https://github.com/kosh04/newlisp/releases)
- [Travis CI](https://travis-ci.org/kosh04/newlisp) : Continuous Integration
- [Coveralls](https://coveralls.io/github/kosh04/newlisp) : Test Coverage
- [AppVeyor](https://ci.appveyor.com/project/kosh04/newlisp/branch/develop) : Continuous Integration (for MinGW)
- [Gitter](https://gitter.im/kosh04/newlisp) : Chat about this repo

Expand Down
4 changes: 4 additions & 0 deletions ci/coveralls/before_install_linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e

pip install --user cpp-coveralls
11 changes: 11 additions & 0 deletions ci/coveralls/before_install_osx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
set -e

# brew update
# brew install pyenv
eval "$(pyenv init -)"
pyenv install 2.7.6
pyenv global 2.7.6
pyenv rehash
pip install cpp-coveralls
pyenv rehash