Skip to content

Commit

Permalink
Add Vagrantfile used to diagnose Travis issues
Browse files Browse the repository at this point in the history
Now that the issue has been resolved, I don't need the Vagrant box any
more. But there might be new issues in the future, and so it might be
useful to keep this file around.
  • Loading branch information
ruuda committed Feb 23, 2017
1 parent 2a1dd08 commit 7cec941
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This Vagrant box is similar to the environment Travis CI provides. It can be
# helpful to diagnose Ubuntu-specific issues. (Fontconfig can be ... difficult.)

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/precise64"

config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
end

config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y git fonts-cantarell libcairo2-dev
curl -sL https://static.rust-lang.org/rustup.sh -o /tmp/rustup.sh
chmod a+rx /tmp/rustup.sh
SHELL
end

0 comments on commit 7cec941

Please sign in to comment.