Add settings for CI services#401
Conversation
Import .travis.yml and appveyor.yml from vim-jp/vim-ci.
vim-jp/vim-ci's directory structure was different from the vim/vim's.
|
I think that |
appveyor.yml
Outdated
There was a problem hiding this comment.
Is this vim-jp/vim-ci's directory structure?
There was a problem hiding this comment.
Oops! This line is not needed. We can use the default folder.
I will update later.
$TEST was used when small and tiny features didn't pass tests.
There's no need to use clone_folder option.
|
Updated. |
|
Bram, what is your opinion on integrating this patch? I think it would be good to have this included, right? |
|
👍 |
1 similar comment
|
👍 |
Problem: Not using CI services available. Solution: Add configuration files for travis and appveyor. (PR #401)
|
Thank you for merging this. Next step is setting up CI accounts. After the setup, it might be better to add badges to README.md. diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,5 +1,8 @@
`README.md` for version 7.4 of Vim: Vi IMproved.
+[](https://travis-ci.org/vim/vim)
+[](https://coveralls.io/github/vim/vim?branch=master)
+[](https://ci.appveyor.com/project/<user-name>/vim/branch/master)
## What is VIM ##
( |
|
Why the comments on this PR are not redirected to vim_dev? |
I found how to create Appveyor account for Github organizations. |
There was once a problem on githubs site, that resulted in the vim-dev user not getting notifications. This should be fixed now, but notifications for such old issues and PR are not generated. I'll look into creating those team accounts for travis-ci, coveralls and appveyor. |
|
Ken Takata wrote:
Apparently Christian has done something, I received requests from three I recommend ordering large cargo containers of paper towels to make up /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \ |
|
Yes I did. Not sure, what is meant by private. I requested access to those services Appveyor, Appveyor CI (this one wants to access private repositories, which I think do not exist and access has not been requested, I don't even understand, why there are 2 Appveyor services), Coveralls and Travis-CI both of which do not request private data. In any case, access rights can be removed later by checking the services property in the settings section of the repository. |
|
In my case, the following permissions are required:
AppVeyor CI doesn't need the "Access private repositories" permission. Some setting might be wrong. |
|
Christian - Most of that appears to be harmless. Only Travis-ci requests "Write
A radioactive cat has eighteen half-lives. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \ |
According to http://docs.travis-ci.com/user/github-oauth-scopes/
This page contains descriptions for other permissions. |
|
From what I understand More about git hooks: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks |
So you do approve those requests? |
|
Bram, please add those badges to the README.md: (haven't been able to get appveyor to see the vim repository yet) |
|
Christian Brabandt wrote: Done. Noticed that I forgot to include the test file change in 7.4.879.
hundred-and-one symptoms of being an internet addict: /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \ |
|
Hi, Travis-ci builds even if you push tags. Regards, |
|
Kenichi Ito wrote:
I'll include it, thanks. hundred-and-one symptoms of being an internet addict: /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \ |
|
Okay, I think I have configured appveyor. I am not sure, if this now runs automatically, whenever a commit is made, but we'll see soon. @brammool Please include this badge to README.md |
|
Why not under vim/vim? |
That's because only the project owner can do that. I don't think this is a problem however, it tests the vim/vim master branch. |

Now the official Vim repository is on GitHub, we can easily use many CI services.
This PR adds setting files for the following CI services:
These setting files were written for vim-ci by vim-jp members.
Here are the sample results:
Note: In order to use these settings, someone needs to set up accounts for the services.