summaryrefslogtreecommitdiff
path: root/appveyor.yml
Commit message (Collapse)AuthorAgeFilesLines
* tests: online::clone: inline creds-test with nonexistent URLPatrick Steinhardt2018-01-031-3/+0
| | | | | | | | Right now, we test our credential callback code twice, once via SSH on localhost and once via a non-existent GitHub repository. While the first URL makes sense to be configurable, it does not make sense to hard-code the non-existing repository, which requires us to call tests multiple times. Instead, we can just inline the URL into another set of tests.
* tests: online::clone: construct credential-URL from environmentPatrick Steinhardt2018-01-031-4/+2
| | | | | | | | | | | | | We support two types of passing credentials to the proxy, either via the URL or explicitly by specifying user and password. We test these types by modifying the proxy URL and executing the tests twice, which is in fact unnecessary and requires us to maintain the list of environment variables and test executions across multiple CI infrastructures. To fix the situation, we can just always pass the host, port, user and password to the tests. The tests can then assemble the complete URL either with or without included credentials, allowing us to test both cases in-process.
* appveyor: build examplesPatrick Steinhardt2017-11-061-1/+1
| | | | | | | | | | By default, CMake will not build our examples directory. As we do not instruct either the MinGW or MSVC builds on AppVeyor to enable building these examples, we cannot verify that those examples at least build on Windows systems. Fix that by passing `-DBUILD_EXAMPLES=ON` to AppVeyor's CMake invocation.
* appveyor: add jobs to also build on Visual Studio 2015Patrick Steinhardt2017-09-151-0/+6
| | | | | In order to cover a wider range of build environments, add two more jobs which build and test libgit2 on Visual Studio 14 2015.
* appveyor: explicitly specify build imagesPatrick Steinhardt2017-09-151-4/+8
| | | | | | | | | | | | | | | | | | | AppVeyor currently does provide three standard build worker images with VS2013, VS2015 and VS2017. Right now, we are using the implicitly, which is the VS2015 one. We want to be more explicit about this, so that we can easily switch build images based on the job. So starting from this commit, we explicitly set the `APPVEYOR_BUILD_WORKER_IMAGE` variable per job, which enables us to choose different images. To be able to test a wider range of build configurations, this commit also switches the jobs for VC2010 over to use the older, VS2013 based images. As the next commit will introduce two new jobs for building with VS2015, we have then covered both build environments. Also, let us be a bit more explicit regarding the CMake generator. Instead of only saying "Visual Studio 10", use the more descriptive value "Visual Studio 10 2010" to at least avoid some confusion surrounding the versioning scheme of Visual Studio.
* appveyor: always build the 'appveyor' branchEdward Thomson2017-02-241-0/+1
| | | | The 'appveyor' branch is useful for testing AppVeyor builds.
* Use AppVeyor's Start-FileDownload cmdletSebastian Schuberth2016-05-251-1/+1
| | | | | | | Start-FileDownload maintains current directory context and allows specifying a request timeout, see [1]. [1] https://www.appveyor.com/docs/how-to/download-file#start-filedownload-cmdlet
* CI: download the proxy jar also on mingwcmn/proxy-configCarlos Martín Nieto2016-04-191-2/+3
| | | | | | We were downloading the jar from within an block which only runs for MSVC. Move the download to the start of the test so it gets downloaded for both.
* CI: run proxy tests with ctestCarlos Martín Nieto2016-04-191-2/+2
| | | | | Running clar directly on appveyor makes it think the command returned failure, so it stops the tests. Running it via ctest lets it go through.
* CI: start the proxy before the build so it's readyCarlos Martín Nieto2016-04-191-2/+2
| | | | | | It takes a bit for the propxy to get ready to accept connections, so start it before the build so we can be reasonably sure that it's going to be ready in time.
* proxy: don't require the trailing slash on WinHTTPCarlos Martín Nieto2016-04-191-2/+2
| | | | | The path is not something that you use for proxies, so make use of the new optionality of the path when extracting URL parts.
* proxy: use poxy to test our Windows proxy supportCarlos Martín Nieto2016-04-191-0/+10
|
* Merge pull request #3671 from libgit2/cmn/remove-mingw32Edward Thomson2016-03-141-6/+0
|\ | | | | Remove CI support for mingw32
| * Remove CI support for mingw32cmn/remove-mingw32Carlos Martín Nieto2016-03-141-6/+0
| | | | | | | | | | The tests have never run successfully and we do have successful builds of mingw-w64, so remove these CI builds which do not add value.
* | appveyor: stop if the first test failsCarlos Martín Nieto2016-03-091-0/+1
|/
* tests: create a ctest target for cred_callbackcmn/auth-retryCarlos Martín Nieto2016-03-031-2/+2
|
* test: make sure we retry the auth callback on all platformsCarlos Martín Nieto2016-03-031-1/+5
| | | | | | | | | | We were missing this test on Windows, which meant we didn't notice that we never fixed the single authentication attempt it tries, nor its wrong return code. Enable this for the unix platforms as well over HTTP. We previously were doing it locally but disabled it on OS X due to issues with its sshd not accepting password authentication.
* build maint branches on appveyorTony Kelman2015-05-221-0/+1
| | | equivalent of ca183d27366ba75597a9806b746e42a074df7795
* Add MSVC CRTDBG memory leak reporting.Jeff Hostetler2015-04-151-2/+2
|
* Revert "add fast-fail feature for pending builds in PR's"Edward Thomson2015-03-101-4/+0
| | | | This reverts commit 8008ab6a4158416d095212c9782fa1622ef994a5.
* Allow failures on mingw for nowTony Kelman2015-03-051-0/+4
|
* Add MinGW-w64 to matrixTony Kelman2015-03-041-2/+9
| | | | | | | | cache mingw-w64 downloads quiet curl and 7zip run appveyor steps in cmd for mingw
* add fast-fail feature for pending builds in PR'sTony Kelman2015-03-041-0/+4
|
* add mingw to appveyor matrixTony Kelman2015-03-041-2/+8
| | | | | | | | | | | | use MSYS makefiles generator add bash script for running mingw on appveyor add --login and fix run paths use msys style path to appveyor-mingw.sh add mingw path to /etc/fstab
* tests: separate INVASIVE filesystem testsEdward Thomson2015-02-191-1/+2
| | | | | | Introduce GITTEST_INVASIVE_FS_STRUCTURE for things that are invasive to your filesystem structure (like creating folders at your filesystem root) and GITTEST_INVASIVE_FS_SIZE for things that write lots of data.
* Merge pull request #2880 from ethomson/mkdir_rootCarlos Martín Nieto2015-02-121-0/+2
|\ | | | | Ensure we can make a repo at the root of the filesystem
| * appveyor: include the invasive filesystem testsEdward Thomson2015-02-051-0/+2
| |
* | Speed up AppVeyor builds.Arthur Schreiber2015-02-061-2/+0
|/ | | AppVeyor build machines come with Python 2.7 and CMake 2.8 pre-installed and in the PATH.
* AppVeyor: Prettify build scriptntk/appveyornulltoken2015-01-311-6/+1
|
* Windows CI: use 32 and 64 bit for AppVeyor buildsEdward Thomson2015-01-211-1/+7
| | | | | Add 64 bit and always build with default calling conventions, to avoid trying to build with stdcall on amd64.
* Add appveyor yamlEdward Thomson2015-01-061-0/+19