fix travis

This commit is contained in:
tqchen 2015-07-25 21:23:40 -07:00
parent f6c82d52ec
commit 0dbac3d11e
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
if [ ${TASK} == "R-package" ]; then if [ ${TASK} == "R-package" ]; then
cat R-package/xgboost.Rcheck/*.log cat xgboost/xgboost.Rcheck/*.log
fi fi

View File

@ -219,7 +219,7 @@ class ThreadBuffer {
factory_.Destroy(); factory_.Destroy();
} }
} }
inline void SetParam(const char *name, const char *val) { inline void SetParam(const char *name, const char *val) {
} }
inline bool Init(void) { inline bool Init(void) {
if (!factory_.Init()) return false; if (!factory_.Init()) return false;
@ -242,7 +242,7 @@ class ThreadBuffer {
inline const ElemFactory &get_factory() const { inline const ElemFactory &get_factory() const {
return factory_; return factory_;
} }
private: private:
// initialized // initialized
bool init_end_; bool init_end_;

View File

@ -181,14 +181,14 @@ const char *XGBSetGetLastError_(const char *str_set) {
#else #else
// crippled implementation for solaris case // crippled implementation for solaris case
// exception handling is not needed for R, so it is OK. // exception handling is not needed for R, so it is OK.
#define API_BEGIN() #define API_BEGIN()
#define API_END_FINALIZE(Finalize) return 0 #define API_END_FINALIZE(Finalize) return 0
#define API_END() return 0 #define API_END() return 0
const char *XGBSetGetLastError_(const char *str_set) { const char *XGBSetGetLastError_(const char *str_set) {
return NULL; return NULL;
} }
#endif #endif // XGBOOST_STRICT_CXX98_
/*! \brief return str message of the last error */ /*! \brief return str message of the last error */
const char *XGBGetLastError() { const char *XGBGetLastError() {