Evolutionary game-theory simulator https://oyun.charlespence.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.2 KiB

  1. language: cpp
  2. matrix:
  3. include:
  4. - os: osx
  5. env:
  6. - MAKE_TARGETS='all package'
  7. - DEPLOY_TARGETS='*.dmg'
  8. - os: linux
  9. env:
  10. - MAKE_TARGETS='all package_source'
  11. - DEPLOY_TARGETS='*.xz'
  12. addons:
  13. apt:
  14. sources:
  15. - ubuntu-toolchain-r-test
  16. - sourceline: 'deb http://repos.codelite.org/wx3.1.1/ubuntu/ trusty universe'
  17. key_url: 'http://repos.codelite.org/CodeLite.asc'
  18. packages:
  19. - g++-6
  20. - cmake
  21. - libwxgtk3.1-dev
  22. - wx3.1-i18n
  23. before_install:
  24. - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then brew update; fi"
  25. - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then brew install wxmac; fi"
  26. - "if [ ${TRAVIS_OS_NAME} = 'linux' ]; then export CC=gcc-6; export CXX=g++-6; fi"
  27. - $CXX -v
  28. install:
  29. - mkdir cmake_build_temp
  30. - cd cmake_build_temp
  31. - cmake ..
  32. script: "make $MAKE_TARGETS && src/oyun_test"
  33. deploy:
  34. provider: releases
  35. api_key:
  36. secure: G1EFC4fWTBMk54retDVZphOeGonSgMBKTEAmyIWC4h0Q7fHBjcoTQxUHWMu0DKX56U12EHisiyKuV8o57MnmIQQ+UTejGFrd6JDGB3fnzVOM24zd755irltXhRG4p1D0DKZ3kwEZcBECk9gd1f7b4cCGt5fk4m8MYdishQ5uJvs=
  37. file: "$DEPLOY_TARGETS"
  38. file_glob: true
  39. skip_cleanup: true
  40. on:
  41. tags: true