Skip to content

Commit

Permalink
perf(ci): travis no longer runs configure.sh
Browse files Browse the repository at this point in the history
Also: added a Vagrantfile that can be used to bootstrap a HyperV Ubuntu 18 VM
and execute the configure.sh script.
This produces a VM that is ready to have BIF cloned to it
and the tools/ci.sh executed.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Jan 21, 2020
1 parent f8f6a70 commit de10cd4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: minimal
language: node_js
node_js:
- 8

os: linux

dist: bionic

install:
- ./packages/core/tools/configure.sh
services:
- docker

script:
- CI_CONTAINERS_WAIT_TIME=12 CI_NO_CORDA=true ./packages/core/tools/ci.sh
Expand Down
1 change: 1 addition & 0 deletions packages/core/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vagrant
.DS_Store
node_modules/
docs/main
Expand Down
18 changes: 18 additions & 0 deletions packages/core/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu1804"
config.vm.provider "hyperv"

config.vm.network "public_network", bridge: "Default Switch"

config.vm.provider :hyperv do |hyperv|
hyperv.vmname = "BIF-CI-Box"
hyperv.maxmemory = 16384
hyperv.cpus = 4
end

config.vm.provision "shell", path: "tools/configure.sh"

end

0 comments on commit de10cd4

Please sign in to comment.