私信发送成功
Watch Star Fork

tboox / xmakeLua

轻量级跨平台自动构建工具,采用lua语法接口API描述项目,提供自动检测、编译、打包、安装、运行一条龙服务 http://xmake.io
克隆/下载
一键复制 编辑 原始数据 按行查看 历史
.travis.yml 1.15 KB ruki 提交于 2017-10-13 22:51 . update brew and fix travis-ci
sudo: required
language: C
matrix:
include:
- os: osx
- os: linux
dist: trusty
compiler: gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- luarocks
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install dmd rust lua51; fi
- sudo luarocks install luacov || sudo luarocks-5.1 install luacov
- echo $CI
script:
- scripts/get.sh __local__
- source ~/.xmake/profile
- xmake lua versioninfo
- xmake f -m coverage -P core
- xmake -v -P core
- export XMAKE_PROGRAM_DIR=$PWD/xmake
- core/build/xmake lua versioninfo
- echo "require('luacov.runner').init({['statsfile']='$PWD/luacov.stats.out',['reportfile']='$PWD/luacov.report.out'})" > tmp
- cat xmake/core/_xmake_main.lua >> tmp
- export XMAKE_PROGRAM_DIR=~/.local/share/xmake
- mv tmp "$XMAKE_PROGRAM_DIR/core/_xmake_main.lua"
- cp core/build/xmake "$XMAKE_PROGRAM_DIR" || sudo cp core/build/xmake "$XMAKE_PROGRAM_DIR"
- xmake lua versioninfo
- xmake lua --backtrace tests/test.lua
after_success:
- luacov
- bash <(curl -s https://codecov.io/bash)

评论 ( 0 )

你可以在登录后,对此项目发表评论

6_float_left_people 6_float_left_close