Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
check in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
antinucleon committed Jul 4, 2015
1 parent 8970c83 commit c9c51da
Show file tree
Hide file tree
Showing 25 changed files with 2,470 additions and 194 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ doc/html
doc/latex
test*
rabit
dmlc-core
*.db
*.bak
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

Loading

0 comments on commit c9c51da

Please sign in to comment.