Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature/stage travis #49

Merged
merged 3 commits into from
Jun 7, 2019
Merged

Feature/stage travis #49

merged 3 commits into from
Jun 7, 2019

Conversation

dellaert
Copy link
Member

@dellaert dellaert commented Jun 6, 2019

Added a compile stage before the matrix of features is built, to populate the ccache. Works well for Linux, does still not seem to work for OSX. Somehow, even though the cache is written by the compile stage, the filenames do not match when the test stage tries to read.

I will cancel the branch build for now, let's see how the CI fares on this PR. But if it still does not work, I have no idea how to fix.

@jlblancoc
Copy link
Member

Awesome! Adding stages is the best way to avoid timeouts. If it's needed, another intermediary stage could be created: 1) gtsam 2) gtsam_unstable 3) examples / tests.
Let's wait for Travis' output...

- CCACHE_SLOPPINESS=pch_defines,time_macros
matrix:
- GTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF GTSAM_BUILD_TESTS=OFF GTSAM_BUILD_UNSTABLE=ON GTSAM_BUILD_EXAMPLES_ALWAYS=ON
- GTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF GTSAM_BUILD_TESTS=ON GTSAM_BUILD_UNSTABLE=ON GTSAM_BUILD_EXAMPLES_ALWAYS=OFF
Copy link
Member

Choose a reason for hiding this comment

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

I think that this "matrix" block could (and should?) be removed.
At least, it could be removed to check whether the list of generated jobs changes; if not, it would be clear it has no effects.

See: travis-ci/docs-travis-ci-com#1500

Copy link
Member Author

Choose a reason for hiding this comment

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

No, I think it works as expected: it generates the eight builds: 2 platforms, 2 compilers, 2 environment settings

@dellaert dellaert merged commit 334721d into develop Jun 7, 2019
@dellaert dellaert deleted the feature/stage_travis branch June 7, 2019 04:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants