Skip to content

Commit 793d618

Browse files
committed
add jenkins buildbot script
1 parent e64a8fc commit 793d618

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.jenkins/jenkins_buildbot_dlt.sh

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/bash
2+
3+
BUILDBOT_DIR=$WORKSPACE/nightly_build
4+
source $HOME/.bashrc
5+
6+
mkdir -p ${BUILDBOT_DIR}
7+
8+
date
9+
COMPILEDIR=$WORKSPACE/compile/lisa_theano_compile_dir_deeplearning
10+
NOSETESTS=${BUILDBOT_DIR}/Theano/bin/theano-nose
11+
XUNIT="--with-xunit --xunit-file="
12+
13+
FLAGS=warn.ignore_bug_before=0.5,compiledir=${COMPILEDIR}
14+
export PYTHONPATH=${BUILDBOT_DIR}/Theano:${BUILDBOT_DIR}/Pylearn:$PYTHONPATH
15+
16+
cd ${BUILDBOT_DIR}
17+
if [ ! -d ${BUILDBOT_DIR}/Theano ]; then
18+
git clone git://github.com/Theano/Theano.git
19+
fi
20+
# update repo
21+
cd ${BUILDBOT_DIR}/Theano; git pull
22+
23+
${WORKSPACE}/data/download.sh
24+
25+
cd ${BUILDBOT_DIR}/Theano
26+
echo "git version for Theano:" `git rev-parse HEAD`
27+
cd ${WORKSPACE}/code
28+
echo "git version:" `git rev-parse HEAD`
29+
30+
echo "executing nosetests speed with mode=FAST_RUN"
31+
FILE=${BUILDBOT_DIR}/dlt_tests.xml
32+
THEANO_FLAGS=${FLAGS},mode=FAST_RUN ${NOSETESTS} ${XUNIT}${FILE} test.py:speed
33+
echo "executing nosetests with mode=FAST_RUN,floatX=float32"
34+
FILE=${BUILDBOT_DIR}/dlt_float32_tests.xml
35+
THEANO_FLAGS=${FLAGS},mode=FAST_RUN,floatX=float32 ${NOSETESTS} ${XUNIT}${FILE}

0 commit comments

Comments
 (0)