Score
0
Watch 241 Star 663 Fork 286

GVPfasiondog / hikyuuPythonMIT

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
基于C++/Python的开源量化交易研究框架 spread retract

http://hikyuu.org/

  • C++ 63.0%
  • Jupyter Notebook 36.5%
  • Lua 0.4%
  • Other 0.1%
Clone or download
.travis.yml 2.54 KB
Copy Edit Web IDE Raw Blame History
fasiondog authored 2020-04-06 21:21 . update
sudo: true
language: C++
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang-6.0
env:
- MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
before_install:
- eval "${MATRIX_EVAL}"
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.71.0/source/boost_1_71_0.tar.bz2
- tar -jxf boost_1_71_0.tar.bz2
- cd boost_1_71_0
- ./bootstrap.sh --with-python=python3
- cat project-config.jam
- ./b2 release link=shared -d0 --with-python --with-serialization
- ./b2 release link=static cxxflags=-fPIC -d0 --with-date_time --with-filesystem --with-system --with-test
- ls ./stage/lib
- cd
- git clone https://github.com/xmake-io/xmake.git xmake-io/xmake --depth 1
- cd ./xmake-io/xmake
- ./scripts/get.sh __local__
- cd
script:
- cd ./build/fasiondog/hikyuu
- export BOOST_ROOT=./boost_1_71_0
- export BOOST_LIB=./boost_1_71_0/stage/lib
- ls .
- echo $CXX
- xmake f --cxx=$CXX --confirm=y --test=small
- xmake -b small-test
- xmake r small-test

Comment ( 0 )

Sign in for post a comment

Python
1
https://gitee.com/fasiondog/hikyuu.git
git@gitee.com:fasiondog/hikyuu.git
fasiondog
hikyuu
hikyuu
master

Help Search

182353 aa51c838 1899542 205747 347fc4a1 1899542