1 Star 0 Fork 319

kczhuang / tbox

forked from tboox / tbox 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.76 KB
一键复制 编辑 原始数据 按行查看 历史
ruki 提交于 2018-09-13 23:48 . remove coverage test
sudo: false
language: C
os:
- linux
- osx
compiler:
- gcc
- clang
install:
- git clone --branch=dev https://github.com/tboox/xmake.git tboox/xmake --depth 1
- cd ./tboox/xmake
- ./scripts/get.sh __local__
- cd -
script:
- xmake
- xmake p
- xmake f -m debug
- xmake -r
- xmake c
- xmake f --micro=y
- xmake -r
- xmake f --small=y -m debug
- xmake
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
xmake m package -p iphoneos;
xmake m package -p iphoneos -f "-m debug";
xmake f -m profile;
xmake -r;
xmake f -m coverage;
xmake -r;
echo "testing stream ..";
xmake r demo stream http://tboox.net /tmp/a > ./error.txt;
xmake r demo stream_async_stream http://www.tboox.org /tmp/a > ./error.txt;
echo "testing regex ..";
xmake r demo regex > ./error.txt;
echo "testing network ..";
xmake r demo network_url > ./error.txt;
xmake r demo network_cookies > ./error.txt;
echo "testing libm ..";
xmake r demo libm_float > ./error.txt;
xmake r demo libm_double > ./error.txt;
echo "testing math ..";
xmake r demo math_fixed > ./error.txt;
echo "testing libc ..";
xmake r demo libc_time > ./error.txt;
xmake r demo libc_wchar > ./error.txt;
xmake r demo libc_stdlib > ./error.txt;
xmake r demo libc_string > ./error.txt;
echo "testing algorithm ..";
xmake r demo algorithm_find > ./error.txt;
xmake r demo algorithm_sort > ./error.txt;
echo "testing container ..";
xmake r demo container_list > ./error.txt;
xmake r demo container_heap > ./error.txt;
xmake r demo container_queue > ./error.txt;
xmake r demo container_vector > ./error.txt;
xmake r demo container_hash_map > ./error.txt;
echo "testing object ..";
xmake r demo object_dump ./res/object.xml > ./error.txt;
xmake r demo object_dump ./res/object.bin > ./error.txt;
xmake r demo object_dump ./res/object.json > ./error.txt;
xmake r demo object_dump ./res/object.bplist > ./error.txt;
xmake r demo object_dump ./res/object.xplist > ./error.txt;
echo "testing database ..";
xmake r demo database_sql /tmp/sqlite3.db > ./error.txt;
echo "testing utils ..";
xmake r demo utils_dump /tmp/sqlite3.db > ./error.txt;
xmake r demo utils_crc hello > ./error.txt;
xmake r demo utils_md5 hello > ./error.txt;
xmake r demo utils_sha hello > ./error.txt;
xmake r demo utils_bits > ./error.txt;
echo "testing platform ..";
xmake r demo platform_ifaddrs > ./error.txt;
xmake r demo platform_hostname > ./error.txt;
xmake r demo platform_backtrace > ./error.txt;
xmake r demo platform_thread_pool > ./error.txt;
fi
after_failure:
- cat ./error.txt
C
1
https://gitee.com/kczhuang/tbox.git
git@gitee.com:kczhuang/tbox.git
kczhuang
tbox
tbox
master

搜索帮助