File tree 3 files changed +37
-0
lines changed
3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1
1
2.x
2
2
-----
3
3
4
+ - #455: Add a Vagrantfile with a customized Arch Linux box for local testing
5
+
4
6
- #454: Revert #407, empty commands is not treated as an error.
5
7
Thanks Anthony Sottile (@asottile).
6
8
Original file line number Diff line number Diff line change @@ -41,3 +41,4 @@ Igor Duarte Cardoso
41
41
Allan Feldman
42
42
Josh Smeaton
43
43
Paweł Adamczak
44
+ Oliver Bestwalter
Original file line number Diff line number Diff line change
1
+ <<-DOC
2
+ Start a virtualbox image with
3
+ * all supported interpreters installed
4
+ * tox installed
5
+ * this folder mapped read/writable to /vagrant
6
+ * convenient way to ssh into the box
7
+
8
+ This should work from Windows, macOS and Linux.
9
+
10
+ To run tests in the box do:
11
+
12
+ $ cd </path/to/where/this/file/is>
13
+ $ vagrant up arch
14
+ $ vagrant ssh arch
15
+ $ tox
16
+
17
+ Prerequisites: https://www.vagrantup.com/ and https://www.virtualbox.org/
18
+
19
+ **NOTE** When sshing into vagrant all .pyc files in this folder will be removed
20
+ automatically. This is necessary to avoid an ImportMismatchError in pytest.
21
+ If you switch between Host and guests, running tests on both you have to
22
+ remove all .pyc files in between runs.
23
+
24
+ For now there is only an Arch Linux box provided. More to come.
25
+ DOC
26
+
27
+ Vagrant . configure ( "2" ) do |config |
28
+ config . vm . define :arch do |arch |
29
+ arch . vm . box = "obestwalter/bindlestiff-arch-linux"
30
+ arch . vm . provider "virtualbox" do |vb |
31
+ vb . memory = "2048"
32
+ end
33
+ end
34
+ end
You can’t perform that action at this time.
0 commit comments