Skip to content
Snippets Groups Projects
Commit 5e052a24 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Merge branch 'master' of github.com:BhallaLab/moose

Conflicts:
	.travis.yml
parents 2f0111b3 1ea6378c
No related branches found
No related tags found
No related merge requests found
language: cpp
compiler:
compiler:
- gcc os:
- linux
- osx
......@@ -13,18 +13,23 @@ notifications:
email:
recipients:
- dilawar.s.rajput@gmail.com
- bhalla@ncbs.res.in
- aviralg@ncbs.res.in
- hrani@ncbs.res.in
- ray.subhasis@gmail.com
on_success: change
on_failure: always
env:
- CTEST_MODEL=Nightly
- CTEST_MODEL=Nightly
cache: apt
before_script:
before_script:
- sudo apt-get update -qq
- sudo apt-get install libxml2-dev libbz2-dev
- sudo apt-get install libxml2-dev libbz2-dev
- sudo apt-get install libhdf5-serial-dev
- sudo apt-get install python-numpy python-setuptools python-networkx
- sudo apt-get install make texinfo cmake
- sudo apt-get install make texinfo cmake
- sudo apt-get install python-suds python-matplotlib
- sudo apt-get install python-qt4-dev python-qt4-gl python-sip-dev libqt4-dev libopenscenegraph-dev
- sudo apt-get install doxygen python-sphinx
......@@ -33,11 +38,11 @@ install:
- wget ftp://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz
- tar -xzvf gsl-1.16.tar.gz
- cd gsl-1.16 && ./configure --prefix=/usr && make && sudo make install && cd ..
- wget http://sourceforge.net/projects/sbml/files/libsbml/5.11.4/stable/libSBML-5.11.4-core-src.tar.gz
- tar -xzvf libSBML-5.11.4-core-src.tar.gz
- cd libsbml-5.11.4 && ./configure --prefix=/usr --with-zlib --with-bzip2 --with-libxml && make && sudo make install && cd ..
script:
- mkdir -p _build && cd _build && cmake -DCMAKE_INSTALL_PREFIX=`pwd`/_install -DDEBUG=ON -DWITH_DOC .. && make
- wget http://sourceforge.net/projects/sbml/files/libsbml/5.9.0/stable/libSBML-5.9.0-core-src.tar.gz
- tar -xzvf libSBML-5.9.0-core-src.tar.gz
- cd libsbml-5.9.0 && ./configure --prefix=/usr --with-zlib --with-bzip2 --with-libxml && make && sudo make install && cd ..
script:
- mkdir -p _build && cd _build && cmake -DCMAKE_INSTALL_PREFIX=`pwd`/_install -DDEBUG=ON .. && make
after_success:
- ctest --output-on-failure
- ctest --output-on-failure
# This is configuration file for matplotlib used in examples.
# We use this configuration file to test the examples. Copy this configuration
# file in the current working directory and run the snippet.
# This configuration file does the followings:
# - plt.show() function become non-blocking.
backend = qt4agg
# This makes all plots non-blocking.
interactive = True
moose-core @ 21046e25
Subproject commit 62ba292eb794fc4e7cd4d703cae07b4c56ac8b79
Subproject commit 21046e25ca1a667fa095d492d396cd69101e7f14
#!/bin/bash
set -e
declare -i a
PYC=`which python`
RUNDIR=./_test_dir_moose-examples_
echo "Creating $RUNDIR"
mkdir -p $RUNDIR
MATPLOTRC=data/matplotlibrc
echo "copying examples out of source"
cp -r moose-examples/* $RUNDIR/
PYFILES=`find $RUNDIR -name "*.py"`
for pyf in $PYFILES; do
let a=a+1
dn=`dirname $pyf`
fn=`basename $pyf`
# copy matplotlibrc file to working directory
cp $MATPLOTRC $dn/
(
cd $dn
echo "Executing $fn in directory $dn"
$PYC $fn
)
done
echo "Total $a scripts run"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment