Conversation
|
whoohoo, PR integration working (and build passed!) |
|
I'm so excited for this! Please squash before merge. |
Makefile
Outdated
There was a problem hiding this comment.
Why HDR? Everywhere else is HXX.
|
Nice extension of the testing types and arranging into |
|
Thanks for taking a look @shelhamer! Squashed history, changed |
Add a test param to test both CPU and GPU (with both float and double Dtypes).
Makefile.config instead of CUSTOM_CXX, as Travis exports CXX as the compiler env variable name. -Change TEST_HDFS -> TEST_HXX_SRCS.
-Add (CPU-only) test, lint, warn and parallel (-j 4) to travis CI build. -Add /usr/local/lib to travis config (seems needed for LMDB). -Put export in "before_script"; disable clang build -- doesn't work on Linux. -Cache Ubuntu apt packages. -Install bc package to hopefully suppress "bc: not found" errors -Get apt packages before_install as suggested by Travis official docs -Remove specified email address and IRC notifications (emails are sent to the committer by default; others can view build results in public Travis feed, on pull requests, etc.).
exit with a non-zero code -- this fixes that.
|
Sidenote: much of the test time is downloading and installing the CUDA requirements plus doing the nvcc compilation, so this should act more lively once the device abstraction and CPU-only build are done. |
continuous integration for build, test, and lint by Travis CI
|
sweet, thanks for the quick merge |
|
Wait, I remember why I did @jeffdonahue can you revert the change to the Makefile to bring back the |
|
@shelhamer, right, I believe CXX and a few others are set to defaults by
|
|
Re-added |
|
@jeffdonahue travis sets the Witness: See https://www.gnu.org/software/make/manual/html_node/Environment.html#Environment. |
|
I see -- so make lets the |
|
You can override the value with a |
|
Oh okay, that makes sense -- thanks for the explanation. |
continuous integration for build, test, and lint by Travis CI
continuous integration for build, test, and lint by Travis CI

Hi, I've taken PR #667 (thanks @huyng!) and rebased it onto some commits cutting down on the duplication between CPU and GPU tests to make it easier and more reliable to run only the CPU tests, and cut down on duplicated code throughout the test suite. I added a
make runtestnogputarget to run only the tests that do not use the GPU (had to appendCPUGPUto some tests that use both CPU and GPU and can't be separated).I made a few changes to the
.travis.ymlin d95aea8 for CPU-only testing and notification by email only going to the committer. Others can see build status on the PR or travis feed.