Commit Graph

13 Commits

Author SHA1 Message Date
Darragh Bailey
66d394d42e
Switch from travis to github actions for unit tests (#1206)
Migrate to github actions as travis has switched to a process that will
require requesting minutes regularly for open source projects, and
current development is slow enough that this additional overhead is too
much.

Correct the generation of the line coverage following the example at
coverallsapp/github-action#29. Remove dependency on coveralls
gem as no longer needed if using the action.

Patch older versions of simplecov to contain a branch_coverage?
method to ensure working with simplecov-lcov.
2021-02-20 15:23:16 +00:00
Joey Korkames
6dfff8414f
Gemfile: update branch-name of 'vagrant-spec' (#1163)
fixes `bundle install` step from the README, currently broken by https://github.com/hashicorp/vagrant-spec/issues/41

```
~/src/vagrant-libvirt $ bundle install
....
Fetching git://github.com/hashicorp/vagrant-spec.git
fatal: Needed a single revision
Revision master does not exist in the repository git://github.com/hashicorp/vagrant-spec.git. Maybe you misspelled it?
```


Works fine now on my workstation with the new name:
```
Using vagrant-spec 0.0.1 from git://github.com/hashicorp/vagrant-spec.git (at main@b6b56c8)
Bundle complete! 10 Gemfile dependencies, 73 gems now installed.
```
2020-10-27 11:51:04 +00:00
Darragh Bailey
63f34432ad
Allow dev with latest vagrant to use newer vagrant-spec (#1098)
Latest vagrant depends on a vagrant-spec release containing a more
recent dependency on childprocess than is supported for earlier releases
of vagrant.

Adjust dependencies to pin to the specific release of vagrant-spec if
the request version of vagrant is 2.2.7 or older.

Does not attempt to handle the situation where a version is specified
that cannot be parsed.

While it would be useful to test against newer versions of 2.2.x, it
appears this encounters a bug in upstream vagrant when installing in
dev mode see https://github.com/hashicorp/vagrant#11293
Therefore limit latest 2.2.x released version tested against to 2.2.4.
2020-04-23 09:12:04 +01:00
Darragh Bailey
1c830dc4a5 Fix CI by pinning version of vagrant-spec for dev 2020-04-20 15:44:14 +01:00
Hugo Stijns
2f9ce15487 Vagrant moved to the hashicorp GitHub organization 2017-11-21 10:05:49 +01:00
Gerben Meijer
16a2a20388 Bring travis up to speed with latest vagrant
- Fix gemfile sourced twice issue: https://github.com/bundler/bundler/issues/5263
- Use latest vagrant-spec
- Fix travis gem issue "no implicit conversion of nil into String"
2017-08-03 18:31:31 +02:00
Gerben Meijer
1c8b94e029 Add coveralls to Gemfile 2016-11-26 23:57:07 +01:00
Darragh Bailey
afb53addb1 Add rudimentary spec test to WaitTillUp using vagrant-spec
Add some basic spec tests for the WaitTillUp action class to lay some
foundations. Utilize vagrant-spec pinned to a known working commit for
tests to pass consistently until they provide releases.

Requires updating some of the rspec libraries and includes
sharedcontext.rb from the jantman/vagrant-r10k project on github.
2016-01-27 18:21:25 +00:00
Darragh Bailey
4c7a0d5db0 Enable travis CI testing of github PRs
Add travis CI and support testing against a matrix of vagrant versions.
2015-07-29 17:44:23 +01:00
Romuald du Song
c5a6107ead change repo ref to https 2015-05-23 15:44:27 +02:00
dima
0e2c26a33f cleaning,tests preparation 2015-04-15 09:45:29 +02:00
Matthieu Coudron
f9aa5a8e76 Updated gemfile to let vagrant load plugin in the 1.5 fashion 2014-03-16 10:52:10 +01:00
pradels
810f0b31b9 Initial commit 2013-03-27 00:55:30 +01:00