summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeff Donahue <jeff.donahue@gmail.com>2014-07-14 20:46:09 (GMT)
committerJeff Donahue <jeff.donahue@gmail.com>2014-07-14 20:46:09 (GMT)
commit97d6ccfda5ec371b8113713f01b86ac54135ff58 (patch)
tree09c6a9a2fdd96845149312bc9a925eb0715ed284 /.travis.yml
parent9c65fbaa865829e4b479e43eae72cf8f5f09afcc (diff)
downloadcaffeonacl-97d6ccfda5ec371b8113713f01b86ac54135ff58.zip
caffeonacl-97d6ccfda5ec371b8113713f01b86ac54135ff58.tar.gz
caffeonacl-97d6ccfda5ec371b8113713f01b86ac54135ff58.tar.bz2
Add blank lines between fields for readability.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 19ef683..1f78047 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,17 +1,21 @@
language: cpp
+
# Cache Ubuntu apt packages.
cache: apt
+
compiler:
- gcc
# Disable clang build: doesn't seem to work on Linux.
# (@jeffdonahue: Travis buildbot's failure behavior is similar to what I see
# building on Linux.)
# - clang
+
before_install:
- echo $LANG
- echo $LC_ALL
- sudo apt-get -y update
- sudo apt-get -y install wget git curl python-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev protobuf-compiler libatlas-dev libatlas-base-dev bc
+
install:
- wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz -O /tmp/glog-0.3.3.tar.gz && tar -C /tmp -xzvf /tmp/glog-0.3.3.tar.gz && rm /tmp/glog-0.3.3.tar.gz
- cd /tmp/glog-0.3.3 && ./configure && make && sudo make install && cd -
@@ -19,10 +23,12 @@ install:
- sudo apt-get -y update && sudo apt-get -y install cuda
- curl https://gitorious.org/mdb/mdb/archive/7f038d0f15bec57b4c07aa3f31cd5564c88a1897.tar.gz -o /tmp/mdb.tar.gz && tar -C /tmp -xzvf /tmp/mdb.tar.gz && rm /tmp/mdb.tar.gz
- cd /tmp/mdb-mdb/libraries/liblmdb/ && make && sudo make install && cd -
+
before_script:
- mv Makefile.config.example Makefile.config
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/lib
- export NUM_THREADS=4
+
script:
- make --keep-going --jobs=$NUM_THREADS all test warn lint
- make runtestnogpu
@@ -30,6 +36,7 @@ script:
- make --jobs=$NUM_THREADS test
- make --jobs=$NUM_THREADS warn
- make --jobs=$NUM_THREADS lint
+
notifications:
# Emails are sent to the committer's git-configured email address by default,
# but only if they have access to the repository. To enable Travis on your
@@ -39,6 +46,7 @@ notifications:
email:
on_success: always
on_failure: always
+
# IRC notifications disabled by default.
# Uncomment next 5 lines to send notifications to chat.freenode.net#caffe
# irc: