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

Instead of building source code using cmake, build the debian package whenever

there is a commit.

Added git-buildpackage as dependency.
parent 00c90e68
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ notifications:
recipients:
- dilawar.s.rajput@gmail.com
- bhalla@ncbs.res.in
- aviralg@ncbs.res.in
- hrani@ncbs.res.in
- ray.subhasis@gmail.com
......@@ -33,6 +32,7 @@ before_script:
- 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
- sudo apt-get install git-buildpackage
install:
- wget ftp://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz
......@@ -43,8 +43,7 @@ install:
- 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 install
- git buildpackage
after_success:
- ctest --output-on-failure
- echo "TODO: Install package and test"
......@@ -13,7 +13,7 @@ override_dh_auto_clean:
# consider using -DUSE_VERSIONED_DIR=ON if backporting
override_dh_auto_configure:
cmake -DPACKAGING_ON_LAUNCHPAD=ON -DCMAKE_INSTALL_PREFIX=debian/tmp
cmake -DPACKAGING_ON_LAUNCHPAD=ON -DCMAKE_INSTALL_PREFIX=debian/tmp/usr
override_dh_auto_build:
make VERBOSE=0 -j`nproc`
......
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