File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
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}
You can’t perform that action at this time.
0 commit comments