sudo: required
dist: trusty
language: bash
script:
  # Install LXD / LXC
  - sudo apt update
  - sudo apt install snapd -y
  - sudo snap install lxd
  - sudo lxd init --auto;
  - sudo usermod -a -G lxd travis;
  - sudo su travis -c 'lxc network create lxdbr0';
  - sudo su travis -c 'lxc network attach-profile lxdbr0 default eth0';
  # Build all images
  - sudo su travis -c 'sh build-all.sh';
sudo: required
dist: trusty
language: bash
script:
  # Install LXD / LXC
  - sudo apt update
  - sudo apt install snapd -y
  - sudo snap install lxd
  - sudo . /etc/profile.d/apps-bin-path.sh
  - sudo lxd init --auto;
  - sudo usermod -a -G lxd travis;
  - sudo su travis -c 'lxc network create lxdbr0';
  - sudo su travis -c 'lxc network attach-profile lxdbr0 default eth0';
  # Build all images
  - sudo su travis -c 'sh build-all.sh';
Update path after LXD installation
Update path after LXD installation
