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.
 
 
 
 

46 lines
1.2 KiB

language: cpp
matrix:
include:
- os: osx
env:
- MAKE_TARGETS='all package'
- DEPLOY_TARGETS='*.dmg'
- os: linux
env:
- MAKE_TARGETS='all package_source'
- DEPLOY_TARGETS='*.xz'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb http://repos.codelite.org/wx3.1.1/ubuntu/ trusty universe'
key_url: 'http://repos.codelite.org/CodeLite.asc'
packages:
- g++-6
- cmake
- libwxgtk3.1-dev
- wx3.1-i18n
before_install:
- "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then brew update; fi"
- "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then brew install wxmac; fi"
- "if [ ${TRAVIS_OS_NAME} = 'linux' ]; then export CC=gcc-6; export CXX=g++-6; fi"
- $CXX -v
install:
- mkdir cmake_build_temp
- cd cmake_build_temp
- cmake ..
script: "make $MAKE_TARGETS && src/oyun_test"
deploy:
provider: releases
api_key:
secure: G1EFC4fWTBMk54retDVZphOeGonSgMBKTEAmyIWC4h0Q7fHBjcoTQxUHWMu0DKX56U12EHisiyKuV8o57MnmIQQ+UTejGFrd6JDGB3fnzVOM24zd755irltXhRG4p1D0DKZ3kwEZcBECk9gd1f7b4cCGt5fk4m8MYdishQ5uJvs=
file: "$DEPLOY_TARGETS"
file_glob: true
skip_cleanup: true
on:
tags: true