• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Valloric / ycmd / 1225
94%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2016 10:30PM UTC
Jobs 1
Files 42
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1225

push

travis-ci

homu
Auto merge of #325 - micbou:appveyor-empty-folder, r=Valloric

[READY] Fix error when removing temporary folder on AppVeyor

So there is this new error that occurs occasionally on AppVeyor:
```sh
WindowsError: [Error 145] The directory is not empty: 'c:\\users\\appveyor\\appdata\\local\\temp\\1\\ycm_build.***\\ycm\\tests'
```
It probably happens because the `ycm_core_tests` executable is still used by some process while the build folder is removed.

I see three ways to fix this:
 - ignore the error;
 - ignore it but print a warning;
 - retry several times (`3` should be enough).

I implemented the first approach because it is the simplest but I don't really like the idea of leaving (in rare cases) some files in the temporary folder (Windows does not automatically clean this folder). This is why the PR is marked as RFC. Ideally, we should implement the third approach.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/325)
<!-- Reviewable:end -->

2621 of 3165 relevant lines covered (82.81%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
5 1225.5 (USE_CLANG_COMPLETER=true YCMD_PYTHON_VERSION=2.7 COVERAGE=true) 29 Jan 2016 10:30PM UTC 0
82.81
Travis Job 1225.5
Source Files on build 1225
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1225
  • cf094dfb on github
  • Prev Build on master (#1221)
  • Next Build on master (#1228)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc