1 Star 0 Fork 818

xz491839007/hikyuu

forked from fasiondog/hikyuu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
fasiondog 提交于 2020-11-19 22:04 . update travis.xml
dist: bionic
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:
- llvm-toolchain-bionic-5.0
packages:
- g++-8
- clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
- os: linux
addons:
apt:
sources:
- llvm-toolchain-bionic-6.0
packages:
- g++-8
- 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
- if [[ "$CXX" =~ "clang" ]]; then
./b2 release toolset=clang link=shared -d0 --with-python --with-serialization --with-date_time --with-filesystem --with-system --with-test;
else
./b2 release toolset=gcc link=shared -d0 --with-python --with-serialization --with-date_time --with-filesystem --with-system --with-test;
fi
- 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 -bvD small-test
- xmake r small-test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/helloWorld1991/hikyuu.git
git@gitee.com:helloWorld1991/hikyuu.git
helloWorld1991
hikyuu
hikyuu
master

搜索帮助