hikyuu2/.travis.yml
2018-09-13 01:58:32 +08:00

32 lines
750 B
YAML

sudo: false
language: C++
os:
- linux
compiler:
- gcc
before_install:
- git clone --branch=dev https://github.com/tboox/xmake.git tboox/xmake --depth 1
- cd ./tboox/xmake
- ./scripts/get.sh __local__
- cd
- 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.5
- ./b2 release link=shared -d0 --with-date_time --with-filesystem --with-system --with-serialization --with-python --with-test
- cd ..
env:
global:
- BOOST_ROOT = boost_1_67_0
- BOOST_LIB = boost_1_67_0/stage/lib
script:
- ls
- cd ./fasiondog/hikyuu
- xmake f --with-unit-test=y --with-demo=y
- xmake hikyuu
- xmake r demo