os: - linux - osx language: c compiler: - gcc - clang # we will end up with four builds from the permutations of the OSes and # compilers (i.e. linux w/ gcc, linux w/ clang, osx w/ gcc, osx w/ clang) # install dependencies (swig, boost, python dev headers) before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install swig; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3-dev; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libboost-all-dev; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade boost; fi # build mcell itself script: - git submodule init - git submodule update - mkdir build - cd build - cmake .. && make # tar up mcell and libraries for distribution via bintray - "tar czf mcell-${TRAVIS_OS_NAME}-$CC.tgz mcell lib" - cd .. env: global: # this hashed key is used by coverity, a tool for doing static analysis secure: VPWYKTuN++NylNQFML3gEVi5GEy9AWCXPy0fS0ZJRJxz1oMt7roE9suZCUI5Q66hS2rwH+Zn/cOaphc/rSTg/wN8K2AGVpZ2p9IPQeCYnxy/HOh7wxZ/eR140sIoAZr68xRXP4KGpHsWduCDAzMAHQVk27u9Gp91bZeaPDv0eoE= addons: coverity_scan: project: name: mcellteam/mcell description: Build submitted via Travis CI notification_email: czech.jacob@gmail.com build_command_prepend: cd ./src && ./bootstrap && ./configure build_command: make branch_pattern: coverity_scan deploy: provider: bintray file: "./bintray.json" user: jczech key: # If you need to regenrate this for some reason, here's what you do: # travis encrypt --add deploy.key # Get BINTRAY API KEY from https://bintray.com/profile/edit under "API Key" section secure: PIaDd9+HTh2R5yMr1V7Cbpry4NB5cefY9j6jQpPJ+tJ73kP4oMOs+fZ288pgiYYskc8clYzVE00pixVmAXIpnzCpTYx7yWTGRA7USwfuFUvUtvu/U2bw0+PJpDyhfO4L3EV5NKuFZCxl+Spr6YrYnFUJtqfPOve5117G8R5dke8= skip_cleanup: true on: all_branches: true