本周日【珠海源创会】一起聊聊:PingCAP分布式事务、支付宝移动端实践、GSBN技术框架选型,点此报名占座

fasiondog / hikyuuPythonMIT

Watch 143 Star 303 Fork 139
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
基于C++/Python的开源量化交易研究框架 展开 收起

http://hikyuu.org/

.travis.yml 1.45 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
fasiondog 提交于 2018-11-04 14:11 . travis
sudo: true
language: C++
os:
- linux
compiler:
- g++
- clang++
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -y libhdf5-dev libhdf5-serial-dev libmysqlclient-dev; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
python3-config --prefix;
ls /usr/local/local/Cellar/python;
fi
#rm /usr/local/opt/python
#ln -s /usr/local/opt/python /usr/local/Cellar/python
# ln -s /usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/include/python3.6m /usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/include/python3.6;
#ls /usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/include/python3.6;
# brew install libiconv mysql-client hdf5;
# brew link --overwrite gcc;
- wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
- tar -jxf boost_1_67_0.tar.bz2
- cd boost_1_67_0
- ./bootstrap.sh --with-python=python3
- cat project-config.jam
- ./b2 release link=shared -d0 --with-python --with-date_time --with-filesystem --with-system --with-serialization --with-test
- ls ./stage/lib
- cd
- git clone https://github.com/tboox/xmake.git tboox/xmake --depth 1
- cd ./tboox/xmake
- ./scripts/get.sh __local__
- cd
script:
- cd ./build/fasiondog/hikyuu
- export BOOST_ROOT=./boost_1_67_0
- export BOOST_LIB=./boost_1_67_0/stage/lib
- ls .
- xmake f --with-unit-test=y --cxx=$CXX
- xmake
- xmake r unit-test

评论 ( 0 )

你可以在登录后,发表评论

搜索帮助

12_float_left_people 12_float_left_close