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

Merge travis branch #2 #69

Merged
merged 3 commits into from
Dec 12, 2016
Merged

Merge travis branch #2 #69

merged 3 commits into from
Dec 12, 2016

Conversation

rgetz
Copy link
Contributor

@rgetz rgetz commented Nov 29, 2016

Update the CMake, so we build nightly debs & rpms, and set up things for coverity with travis.

-Robin

Copy link
Contributor

@pcercuei pcercuei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes requested but it's in good shape overall.

@@ -262,6 +262,26 @@ endif()
#set(SETUP_PY ${CMAKE_CURRENT_SOURCE_DIR}/bindings/python/setup.py)
#configure_file(python/setup.py.in ${SETUP_PY} @ONLY)

# support creating some basic binpkgs via `make package`
set(LIBIIO_VERSION_PATCH ${LIBIIO_VERSION_GIT})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use g${LIBIIO_VERSION_GIT}
With the small 'g' before, it's the convention when git tags are used in versions.
Also instead of defining LIBIIO_VERSION_PATCH you could just set that line 277.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do.

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install --build-from-source libusb; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y doxygen; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libaio-dev; fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe install all those packages in one apt-get install line, that would shrink the patch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could do that - but found it easier to debug with every line installing one thing. I know it looks kind of fugly- but there are limits in yaml (no multi-line), that cause issues as well. I would prefer to leave it - unless you feel strongly about it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, it's no big deal.

- PKG_RULE=gzip
- COVERITY_SCAN_PROJECT_NAME="$TRAVIS_REPO_SLUG"
- COVERITY_SCAN_BRANCH_PATTERN="travis-ci"
- COVERITY_SCAN_NOTIFICATION_EMAIL="robin.getz@analog.com"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that the email address used when new bugs are found? Maybe we should be in there as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's an email every time it runs with the results. (Did you still want to be there?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then it's fine.

Signed-off-by: Robin Getz <robin.getz@analog.com>
	coverity, to make sure things are A-OK. Also turn on all the
	backends, to make sure we test all the code paths.

Signed-off-by: Robin Getz <robin.getz@analog.com>
	can quickly see status.

Signed-off-by: Robin Getz <robin.getz@analog.com>
@rgetz
Copy link
Contributor Author

rgetz commented Dec 2, 2016

Updated - let me know if that works.

-Robin

@pcercuei pcercuei merged commit 4960503 into master Dec 12, 2016
@pcercuei
Copy link
Contributor

Merged. Thanks!

@pcercuei pcercuei deleted the travis-ci branch December 12, 2016 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants