Loading .travis.yml +13 −2 Original line number Diff line number Diff line Loading @@ -2,21 +2,32 @@ language: python python: "2.7" dist: trusty sudo: false sudo: True group: beta env: - platform: openbsd60 driver: vagrant - platform: openbsd59 driver: vagrant - platform: openbsd56 driver: vagrant cache: - pip - directories: - $HOME/.pre-commit install: - sudo apt-get update - sudo apt-get install -y linux-headers-$(uname -r) virtualbox - wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb - sudo dpkg -i vagrant_1.9.1_x86_64.deb - pip install -r tests/requirements.txt | cat - ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles - molecule dependency script: - pre-commit run --all-files - ansible-playbook -i localhost, -c local -C tests/playbook.yml -e 'ansible_python_interpreter=/usr/bin/python2.7' - molecule test --driver $driver --platform $platform notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ Loading molecule.yml +11 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,13 @@ vagrant: providers: - name: virtualbox type: virtualbox options: cpus: 1 platforms: - name: openbsd60 box: fnichol/openbsd-6.0-i386 - name: openbsd59 box: fnichol/openbsd-5.9-i386 - name: openbsd56 box: fnichol/openbsd-5.6-i386 instances: Loading @@ -20,6 +24,10 @@ vagrant: append_platform_to_hostname: yes raw_config_args: - 'vm.synced_folder ".", "/vagrant", disabled: true' - 'vbguest.auto_update = false' - 'landrush.enabled = false' - 'landrush_ip.override = false' - 'vbguest.auto_update = false if Vagrant.has_plugin?("vbguest")' - 'landrush.enabled = false if Vagrant.has_plugin?("landrush")' - 'landrush_ip.override = false if Vagrant.has_plugin?("landrush")' - | vm.provider "virtualbox" do |v| v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"] end tests/playbook.yml +2 −1 Original line number Diff line number Diff line --- - hosts: all gather_facts: False roles: [openbsd-bootstrap] roles: - role: openbsd-bootstrap post_tasks: - name: Test gathering facts setup: Loading Loading
.travis.yml +13 −2 Original line number Diff line number Diff line Loading @@ -2,21 +2,32 @@ language: python python: "2.7" dist: trusty sudo: false sudo: True group: beta env: - platform: openbsd60 driver: vagrant - platform: openbsd59 driver: vagrant - platform: openbsd56 driver: vagrant cache: - pip - directories: - $HOME/.pre-commit install: - sudo apt-get update - sudo apt-get install -y linux-headers-$(uname -r) virtualbox - wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb - sudo dpkg -i vagrant_1.9.1_x86_64.deb - pip install -r tests/requirements.txt | cat - ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles - molecule dependency script: - pre-commit run --all-files - ansible-playbook -i localhost, -c local -C tests/playbook.yml -e 'ansible_python_interpreter=/usr/bin/python2.7' - molecule test --driver $driver --platform $platform notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ Loading
molecule.yml +11 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,13 @@ vagrant: providers: - name: virtualbox type: virtualbox options: cpus: 1 platforms: - name: openbsd60 box: fnichol/openbsd-6.0-i386 - name: openbsd59 box: fnichol/openbsd-5.9-i386 - name: openbsd56 box: fnichol/openbsd-5.6-i386 instances: Loading @@ -20,6 +24,10 @@ vagrant: append_platform_to_hostname: yes raw_config_args: - 'vm.synced_folder ".", "/vagrant", disabled: true' - 'vbguest.auto_update = false' - 'landrush.enabled = false' - 'landrush_ip.override = false' - 'vbguest.auto_update = false if Vagrant.has_plugin?("vbguest")' - 'landrush.enabled = false if Vagrant.has_plugin?("landrush")' - 'landrush_ip.override = false if Vagrant.has_plugin?("landrush")' - | vm.provider "virtualbox" do |v| v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"] end
tests/playbook.yml +2 −1 Original line number Diff line number Diff line --- - hosts: all gather_facts: False roles: [openbsd-bootstrap] roles: - role: openbsd-bootstrap post_tasks: - name: Test gathering facts setup: Loading