Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 4fbede2

Browse files
authored
Merge pull request #265 from elopio/snap_in_travis
Build the snap in travis
2 parents a807885 + 0504781 commit 4fbede2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ script:
1717
- cd $TRAVIS_BUILD_DIR && ./test_compile.sh
1818
- goveralls -coverprofile=coverage.out -service travis-ci
1919
after_success:
20+
# Build the snap.
21+
- docker run -v $(pwd):/cwd snapcore/snapcraft sh -c 'cd /cwd && sudo apt update && snapcraft'
2022
- ./deploy.sh

snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ description: |
88
Bitcoin wallet for interacting with the Bitcoin network. And a JSON API which
99
can be used by a user interface to control the node and browse the network.
1010
11-
grade: devel
1211
confinement: strict
1312

1413
apps:
@@ -21,4 +20,5 @@ parts:
2120
source: .
2221
plugin: go
2322
go-importpath: github.com/OpenBazaar/openbazaar-go
23+
build-packages: [gcc, libc6-dev]
2424
stage-packages: [iproute2, net-tools]

0 commit comments

Comments
 (0)