Permalink
Browse files

check in travis

  • Loading branch information...
1 parent 8970c83 commit c9c51da98c452e4edfa18d0c69caebe882eb5236 @antinucleon antinucleon committed Jul 4, 2015
View
@@ -16,3 +16,6 @@ doc/html
doc/latex
test*
rabit
+dmlc-core
+*.db
+*.bak
View
@@ -0,0 +1,41 @@
+# disable sudo to use container based build
+sudo: false
+
+# Use Build Matrix to do lint and build seperately
+env:
+ matrix:
+ - TASK=lint LINT_LANG=cpp
+ - TASK=doc
+ - TASK=build CXX=g++
+
+# dependent apt packages
+addons:
+ apt:
+ packages:
+ - doxygen
+ - wget
+ - unzip
+ - libatlas-dev
+
+before_install:
+ - git clone https://github.com/dmlc/dmlc-core
+ - export TRAVIS=dmlc-core/scripts/travis
+ - source ${TRAVIS}/travis_setup_env.sh
+
+install:
+ - pip install cpplint pylint --user `whoami`
+
+script: scripts/travis_script.sh
+
+before_cache:
+ - ${TRAVIS}/travis_before_cache.sh
+
+cache:
+ directories:
+ - ${HOME}/.cache/usr
+
+notifications:
+ email:
+ on_success: change
+ on_failure: always
+
Oops, something went wrong.

0 comments on commit c9c51da

Please sign in to comment.