diff options
| author | ruki <[email protected]> | 2018-09-12 23:57:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-12 17:46:52 +0800 |
| commit | b9a7a630d4a3dfb6ab22974dcbec7b11801d7e30 (patch) | |
| tree | 33b9f11e0092f24400521a128c55ec237132e16d | |
| parent | 18f193ed0b7da9eaa2d62794de30a0a923776616 (diff) | |
remove luacov in ci
| -rw-r--r-- | .appveyor.yml | 22 | ||||
| -rw-r--r-- | .travis.yml | 6 | ||||
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | README_zh.md | 3 |
4 files changed, 0 insertions, 34 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index dd808cab3..5434f5d86 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -9,40 +9,18 @@ platform: - Win64 install: - - ps: Invoke-Webrequest 'http://luarocks.github.io/luarocks/releases/luarocks-2.4.2-win32.zip' -OutFile luarocks.zip - - ps: Expand-Archive luarocks.zip - - ps: Copy-Item -Recurse luarocks\luarocks-2.4.2-win32\win32\lua5.1 C:\lua - - cmd: cd luarocks\luarocks-2.4.2-win32 - - cmd: install.bat /Q - - cmd: set PATH=%PATH%;C:\Program Files (x86)\LuaRocks;C:\lua\bin - - cmd: cd ..\.. - - ps: Remove-Item luarocks -Recurse -Force - - ps: Remove-Item luarocks.zip - - cmd: luarocks install luacov - - ps: Copy-Item -Recurse C:\lua\share\lua\5.1 $HOME\xmake\lua - cmd: echo %CI% build_script: - ps: Invoke-Expression (Get-Content scripts\get.ps1 | Out-String) - cmd: xmake lua versioninfo - - cmd: if %platform%==Win64 xmake f -a x64 -P core - cmd: xmake -P core - cmd: set XMAKE_PROGRAM_DIR=%cd%\xmake - cmd: core\build\xmake lua versioninfo - - ps: Write-Output "require('luacov.runner').init({['statsfile']='$PWD/luacov.stats.out',['reportfile']='$PWD/luacov.report.out'})".replace('\','/') | Out-File tmp - - ps: Write-Output (Get-Content xmake\core\_xmake_main.lua | Out-String) | Out-File tmp -Append - - ps: Invoke-Webrequest 'https://svwh.dl.sourceforge.net/project/dos2unix/dos2unix/7.3.4/dos2unix-7.3.4-win32.zip' -OutFile dos2unix.zip - - ps: Expand-Archive dos2unix.zip - - cmd: dos2unix\bin\dos2unix tmp - - ps: Remove-Item -Recurse dos2unix,dos2unix.zip - - ps: Move-Item -Force tmp xmake\core\_xmake_main.lua - ps: Copy-Item -Force core\build\xmake.exe $HOME\xmake - cmd: xmake lua --backtrace tests\test.lua on_success: - - luacov - - pip install codecov - - codecov --file luacov.report.out - ps: $env:XMAKE_PROGRAM_DIR=$null - ps: Invoke-Expression (Get-Content scripts\getpb.ps1 | Out-String) diff --git a/.travis.yml b/.travis.yml index 93281c1f0..d19a862e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,9 @@ matrix: - ubuntu-toolchain-r-test packages: - gcc-5 - - luarocks install: - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install dmd rust; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo luarocks install luacov || sudo luarocks-5.1 install luacov; fi - echo $CI script: @@ -28,12 +26,8 @@ script: - 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 - export XMAKE_PROGRAM_DIR=~/.local/share/xmake - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then cat xmake/core/_xmake_main.lua >> tmp; mv tmp "$XMAKE_PROGRAM_DIR/core/_xmake_main.lua"; fi - 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: - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then luacov; bash <(curl -s https://codecov.io/bash); fi @@ -12,9 +12,6 @@ <a href="https://ci.appveyor.com/project/waruqi/xmake/branch/master"> <img src="https://img.shields.io/appveyor/ci/waruqi/xmake/master.svg?style=flat-square" alt="appveyor-ci" /> </a> - <a href="https://codecov.io/gh/tboox/xmake"> - <img src="https://img.shields.io/codecov/c/github/tboox/xmake/master.svg?style=flat-square" alt="Coverage" /> - </a> <a href="https://aur.archlinux.org/packages/xmake"> <img src="https://img.shields.io/aur/votes/xmake.svg?style=flat-square" alt="AUR votes" /> </a> diff --git a/README_zh.md b/README_zh.md index cf714f595..ccf556dce 100644 --- a/README_zh.md +++ b/README_zh.md @@ -12,9 +12,6 @@ <a href="https://ci.appveyor.com/project/waruqi/xmake/branch/master"> <img src="https://img.shields.io/appveyor/ci/waruqi/xmake/master.svg?style=flat-square" alt="appveyor-ci" /> </a> - <a href="https://codecov.io/gh/tboox/xmake"> - <img src="https://img.shields.io/codecov/c/github/tboox/xmake/master.svg?style=flat-square" alt="Coverage" /> - </a> <a href="https://aur.archlinux.org/packages/xmake"> <img src="https://img.shields.io/aur/votes/xmake.svg?style=flat-square" alt="AUR votes" /> </a> |
