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

Update Conan Support #10

Merged
merged 10 commits into from Oct 8, 2018

Conversation

Projects
None yet
2 participants
@uilianries
Contributor

uilianries commented Oct 6, 2018

Hi!

This PR contains some few improvements:

  • Build Conan package as in-source
  • Run Travis CI to build Conan package
  • Add test package to validate your Conan package
  • Add build script build and upload (only tags) your package

Regards!

uilianries added some commits Oct 6, 2018

Export LICENSE when create Conan package
- Preserves project license when exporting
- Re-use project URL to clone

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Remove SCM from Conan
- SCM is remote project feature. When using it Conan
  will clone (again) all project from remote URL.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Use UTF-8 in Conan recipe
- Force python interpreter to use UTF-8

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Test Conan package
- Validate conan package by simple example
- Build Conan package using Conan package Tools

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Build Conan package on Travis CI
- Add new job on Travis to build Conan package

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Use SCM feature to build Conan package
- SCM could export all project files helping to build

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Reduce Conan package Tools recipe
- Remove extra settings

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Install Boost
- Some tests requires Boost when testing
- Update _pcre string literal
- Update test package to date example

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Build Conan package using Docker
- Run docker on Travis CI to build all Conan stuff. Travis images
  are too old.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries

This comment has been minimized.

Show comment
Hide comment
@uilianries

uilianries Oct 6, 2018

Contributor

I applied the rule to upload your package when using tag only.
Also it's necessary set CONAN_LOGIN_USERNAME and CONAN_PASSWORD on Travis Environment variables (don't forget to check as secret).

Contributor

uilianries commented Oct 6, 2018

I applied the rule to upload your package when using tag only.
Also it's necessary set CONAN_LOGIN_USERNAME and CONAN_PASSWORD on Travis Environment variables (don't forget to check as secret).

@hanickadot hanickadot merged commit 1ad5444 into hanickadot:master Oct 8, 2018

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment