代码拉取完成,页面将自动刷新
同步操作将从 tboox/tbox 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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_success:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
bash <(curl -s https://codecov.io/bash);
fi
after_failure:
- cat ./error.txt
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。