Vagrantfile 695 B

1234567891011121314151617181920212223242526
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. Vagrant.configure(2) do |config|
  4. config.vm.box = "archlinux-x86_64"
  5. config.vm.provider "virtualbox" do |vb|
  6. # Display the VirtualBox GUI when booting the machine
  7. vb.gui = true
  8. # Customize the amount of memory on the VM:
  9. vb.memory = "1024"
  10. end
  11. # end
  12. shell_script = <<-SHELL
  13. yaourt -Syu --noconfirm
  14. yaourt --noconfirm -S clang llvm llvm-libs git cppunit ruby
  15. git clone https://github.com/cedlemo/truckboris.git
  16. cd truckboris
  17. ./autogen.sh --prefix=/usr
  18. make
  19. sudo make install
  20. make check
  21. ./tests/truckBorisTests
  22. SHELL
  23. config.vm.provision "shell", inline: shell_script, privileged: false
  24. end