Skip to content
Draft
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
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ before_install:
- popd
# no point re-downloading SIRF - just use local version
# N.B.: don't put into build matrix to allow caching.
- BUILD_FLAGS="$BUILD_FLAGS -DPYVER=$PYMVER -DSIRF_SOURCE_DIR:PATH=$PWD -DDISABLE_GIT_CHECKOUT_SIRF=ON"
- SIRF_SOURCE_DIR=$PWD
- BUILD_FLAGS="$BUILD_FLAGS -DPYVER=$PYMVER -DSIRF_SOURCE_DIR:PATH=$SIRF_SOURCE_DIR -DDISABLE_GIT_CHECKOUT_SIRF=ON"
# get SuperBuild
- cd ..
- git clone https://github.com/CCPPETMR/SIRF-SuperBuild --recursive -b master
Expand Down Expand Up @@ -259,8 +260,10 @@ script:
fi

after_success:
- pushd ../SIRF
- sed -r 's/SIRF-SuperBuild\/INSTALL\/python\/sirf\/(\w*)\.py/SIRF\/src\/x\1\/p\1\/\1.py/g' ../SIRF-SuperBuild/sources/SIRF/.coverage > .coverage
- codecov
- coveralls
- pushd $SIRF_SOURCE_DIR
# replace name of installed .py files in .coverage (as OSX sed is tricky with sed -i, first write to tmp file, then move to .coverage)
- sed -E 's/SIRF-SuperBuild\/INSTALL\/python\/sirf\/(\w*)\.py/SIRF\/src\/x\1\/p\1\/\1.py/g' $SIRF_SOURCE_DIR/.coverage > .coverage.tmp
- mv .coverage.tmp .coverage
- $PY_EXE -m codecov
- $PY_EXE -m coveralls
- popd
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Platform for Synergistic Reconstruction for Biomedical Imaging (formerly CCP PET
Please start with our latest [User's Guide](doc/UserGuide.md).
See [our Wiki page for installation instructions](https://github.com/CCPPETMR/SIRF/wiki/Installation-instructions).

[coveralls-badge]: https://coveralls.io/repos/github/CCPPETMR/SIRF/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/CCPPETMR/SIRF?branch=master
[codecov-badge]: https://codecov.io/gh/CCPPETMR/SIRF/branch/master/graph/badge.svg
[codecov]: https://codecov.io/gh/CCPPETMR/SIRF
[travis-badge]: https://travis-ci.org/CCPPETMR/SIRF.svg?branch=master
[travis]: https://travis-ci.org/CCPPETMR/SIRF
[coveralls-badge]: https://coveralls.io/repos/github/SyneRBI/SIRF/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/SyneRBI/SIRF?branch=master
[codecov-badge]: https://codecov.io/gh/SyneRBI/SIRF/branch/master/graph/badge.svg
[codecov]: https://codecov.io/gh/SyneRBI/SIRF
[travis-badge]: https://travis-ci.org/SyneRBI/SIRF.svg?branch=master
[travis]: https://travis-ci.org/SyneRBI/SIRF