Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Use Popey's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
egeexyz committed Aug 10, 2020
1 parent d10bb0a commit b437654
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ env:
- LC_ALL: C.UTF-8
- LANG: C.UTF-8
- SNAPCRAFT_ENABLE_SILENT_REPORT: y
- SNAPCRAFT_ENABLE_DEVELOPER_DEBUG: y
- PATH: /snap/bin:$PATH

addons:
snaps:
- name: snapcraft
channel: stable
classic: true
- name: http
- name: transfer
- name: lxd
channel: stable

script:
- sudo apt update
- sudo /snap/bin/lxd.migrate -yes
- sudo /snap/bin/lxd waitready
install:
- sudo apt autoremove --yes --purge lxd lxd-client
- sudo /snap/bin/lxd init --auto
- mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
- snapcraft --use-lxd
- sudo /snap/bin/lxd waitready
script:
# Workaround until https://github.com/snapcore/snapcraft/pull/3240 is released.
- sudo bash -c "unset SUDO_USER && snapcraft --use-lxd"
# after_failure:
# - http https://api.snapcraft.io/v2/snaps/info/core architecture==amd64 Snap-Device-Series:16

0 comments on commit b437654

Please sign in to comment.