Skip to content

Cleanup travis configuration#2641

Merged
sbc100 merged 1 commit into
masterfrom
travis_cleanup
Feb 7, 2020
Merged

Cleanup travis configuration#2641
sbc100 merged 1 commit into
masterfrom
travis_cleanup

Conversation

@sbc100

@sbc100 sbc100 commented Feb 6, 2020

Copy link
Copy Markdown
Member
  • explicitly name each job so its clear in the UI.
  • split flake8 out into its own job rather than running it N times.
  • rename the build phase to archive since build could mean any
    number of things (normally it means that thing you do before testing
    not after).

@sbc100 sbc100 force-pushed the travis_cleanup branch 2 times, most recently from a9875e8 to 111c299 Compare February 6, 2020 23:18
- explicitly name each job so its clear in the UI.
- split flake8 and other linkers into thier own job rather than doing
  these things N times.
- rename the `build` phase to `archive` since build could mean any
  number of things (normally it means that thing you do before testing
  not after).
- combine the gcc test with the out-of-tree test
@sbc100 sbc100 requested a review from kripken February 6, 2020 23:57
@kripken

kripken commented Feb 7, 2020

Copy link
Copy Markdown
Member

Is it worth cleaning up given #2646?

@sbc100

sbc100 commented Feb 7, 2020

Copy link
Copy Markdown
Member Author

Yeah, cleaning this up is incremental and is helpful for the transition (IMHO).

Comment thread .travis.yml
- mkdir -p ${BUILD_SUBDIR} && cd ${BUILD_SUBDIR}
- cmake ${TRAVIS_BUILD_DIR} -DCMAKE_C_FLAGS="$COMPILER_FLAGS" -DCMAKE_CXX_FLAGS="$COMPILER_FLAGS" -DCMAKE_EXE_LINKER_FLAGS="$LINKER_FLAGS" -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
# clang-tidy-diff.sh may not exist when BUILD_SUBDIR is a subdirectory
- if [ -f clang-tidy-diff.sh ]; then ./clang-tidy-diff.sh; fi

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this if and the comment explaining it no longer relevant? cc @aheejin

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah.. the problem was the cd above which is no longer part of the lint phase. So is not long needed or relevant. Much cleaner this way.

@sbc100 sbc100 merged commit 23e9e8c into master Feb 7, 2020
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