forked from AndySomogyi/sbmlsolver
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from sys-bio/develop
Travis was pretty much useless, it never built this PR. Merging anyway.
- Loading branch information
Showing
40,903 changed files
with
511,995 additions
and
10,575,943 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ | |
*.h text | ||
*.hpp text | ||
|
||
# Python | ||
*.py text | ||
|
||
# Object Pascal | ||
*.pas text | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,53 @@ | ||
#sudo: false | ||
sudo: required | ||
dist: trusty | ||
|
||
language: cpp | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
|
||
compiler: gcc | ||
|
||
branches: | ||
only: | ||
- develop | ||
- travis | ||
|
||
#addons: | ||
#apt: | ||
#sources: | ||
#- llvm-toolchain-precise-3.5 | ||
|
||
#addons: | ||
#apt: | ||
#packages: | ||
#- cmake | ||
#- llvm-3.4 | ||
- master | ||
|
||
|
||
before_install: | ||
# https://github.com/travis-ci/travis-ci/issues/1379 | ||
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | ||
# print the distro information | ||
- lsb_release -a | ||
|
||
# cache refresh required to install packages | ||
- sudo apt-get update -qq | ||
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi | ||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi | ||
- mkdir ~/install | ||
|
||
# setup CMake 3.2.1 | ||
- mkdir ~/install/cmake-3.2.1 | ||
- cd ~/install/cmake-3.2.1 | ||
- wget http://www.cmake.org/files/v3.2/cmake-3.2.1-Linux-x86_64.tar.Z | ||
- tar xf cmake-3.2.1-Linux-x86_64.tar.Z --strip-components=1 | ||
# install dependencies | ||
- sudo apt-get -y install cmake swig python-dev python-numpy llvm-3.5-dev | ||
|
||
## get LLVM 3.5.1 sources | ||
#- mkdir -p ~/src/rr-deps/llvm-3.5.1 | ||
#- cd ~/src/rr-deps/llvm-3.5.1 | ||
#- wget http://llvm.org/releases/3.5.1/llvm-3.5.1.src.tar.xz | ||
#- tar xf llvm-3.5.1.src.tar.xz | ||
## build LLVM 3.5.1 | ||
#- mkdir -p ~/build/llvm-3.5.1 | ||
#- cd ~/build/llvm-3.5.1 | ||
#- ~/install/cmake-3.2.1/bin/cmake --version | ||
#- ~/install/cmake-3.2.1/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/install/llvm-3.5.1 ~/src/rr-deps/llvm-3.5.1/llvm-3.5.1.src | ||
#- make -j2 && make install | ||
- mkdir ~/install | ||
|
||
# download LLVM 3.5.1 binaries | ||
- cd ~/install | ||
- wget http://sourceforge.net/projects/roadrunner-deps/files/ubuntu-12.04.5/llvm-3.5.1.tar.xz | ||
- tar xf llvm-3.5.1.tar.xz | ||
# install roadrunner dependencies via apt: | ||
- sudo sh -c 'echo "\n\ndeb http://cdn.rawgit.com/sys-bio/roadrunner-debs/master ./ \n\n" >> /etc/apt/sources.list' | ||
- sudo cat /etc/apt/sources.list | ||
- sudo apt-get update -qq | ||
- sudo apt-get -y --force-yes install libroadrunner-deps-dev | ||
|
||
# roadrunner third party: | ||
- mkdir -p ~/build/roadrunner-tp | ||
- cd ~/build/roadrunner-tp | ||
- ~/install/cmake-3.2.1/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/install/roadrunner-tp $TRAVIS_BUILD_DIR/third_party | ||
- make -j2 | ||
- echo "TRAVIS_BUILD_DIR $TRAVIS_BUILD_DIR" | ||
# build roadrunner: | ||
- mkdir -p ~/build/roadrunner | ||
|
||
install: | ||
- cd ~/build/roadrunner-tp | ||
- cd ~/build/roadrunner | ||
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/install/roadrunner -DTHIRD_PARTY_INSTALL_FOLDER=/usr -DLLVM_CONFIG_EXECUTABLE=/usr/lib/llvm-3.5/bin/llvm-config -DBUILD_PYTHON=ON -DPYTHON_EXECUTABLE=/usr/bin/python -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so python2.7 -DBUILD_TESTS=ON -DBUILD_TEST_TOOLS=ON -DUSE_TR1_CXX_NS=ON -DBUILD_JAVA_INTERFACE=OFF "$TRAVIS_BUILD_DIR" | ||
- make -j2 | ||
- make install | ||
|
||
before_script: | ||
- echo "TRAVIS_BUILD_DIR $TRAVIS_BUILD_DIR" | ||
# roadrunner: | ||
- mkdir -p ~/build/roadrunner | ||
- cd ~/build/roadrunner | ||
- ~/install/cmake-3.2.1/bin/cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/install/roadrunner -DTHIRD_PARTY_INSTALL_FOLDER=~/install/roadrunner-tp -DLLVM_CONFIG_EXECUTABLE=~/install/llvm-3.5.1/bin/llvm-config -DBUILD_PYTHON=OFF -DBUILD_TESTS=OFF -DUSE_TR1_CXX_NS=ON -DBUILD_JAVA_INTERFACE=OFF -DBUILD_TEST_TOOLS=OFF "$TRAVIS_BUILD_DIR" | ||
before_script: true | ||
|
||
script: | ||
- cd ~/build/roadrunner | ||
- make -j2 && make install | ||
- make -j2 && make install | ||
- ctest -VV | ||
# display results of compiled tests | ||
- cat autotest/compiled-test-suite/results.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@ROADRUNNER_VERSION@ |
Oops, something went wrong.