Skip to content

Commit 7ca839f

Browse files
author
nik mohamad aizuddin bin nik azmi
authored
feat(CI): Add AppVeyor CI support (#10)
1 parent 344e32a commit 7ca839f

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# vagrant-basic
22

3-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Build Status](https://travis-ci.com/extra2000/vagrant-basic.svg?branch=master)](https://travis-ci.com/extra2000/vagrant-basic)
3+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Build Status](https://travis-ci.com/extra2000/vagrant-basic.svg?branch=master)](https://travis-ci.com/extra2000/vagrant-basic) [![Build status](https://ci.appveyor.com/api/projects/status/6gbufvpny4wim1hf/branch/master?svg=true)](https://ci.appveyor.com/project/nikAizuddin/vagrant-basic-39rea/branch/master)
4+
45

56
Simple example on how to use Vagrant to create Centos 7 virtual machine.
67

appveyor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
os: Ubuntu
2+
platform:
3+
- x64
4+
install:
5+
- sudo apt-get update && sudo apt-get install -y bridge-utils dnsmasq-base ebtables libvirt-bin libvirt-dev qemu-kvm qemu-utils ruby-dev
6+
- sudo wget -nv https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.deb
7+
- sudo dpkg -i vagrant_2.2.9_x86_64.deb
8+
- sudo vagrant plugin install vagrant-libvirt vagrant-scp vagrant-reload vagrant-vbguest
9+
build_script:
10+
- sudo vagrant up --provider=libvirt
11+
- sudo vagrant ssh -- echo "hello world"
12+
- sudo vagrant halt
13+
- sudo vagrant destroy --force
14+
test: off

0 commit comments

Comments
 (0)