开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

GVPtboox / tboxC

指数
0
Watch 140 Star 312 Fork 95
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
跨平台的c开发库,提供asio、stream、容器、算法、xml/json/plist解析、数据库等常用模块 展开 收起

http://www.tboox.org

  • C 81.3%
  • GAP 9.1%
  • C++ 6.9%
  • Assembly 1.5%
  • Objective-C 0.8%
  • Other 0.4%
.travis.yml 2.76 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
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

评论 ( 0 )

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

搜索帮助