File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ install:
4747 - nvm install 8.4
4848 - npm install -g yarn
4949 - yarn install
50- - sudo snap install docker
5150 - export DISPLAY=':99.0'
5251 - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
5352
@@ -57,6 +56,8 @@ before_script:
5756 - sleep 3
5857
5958script :
60- - bash -c "snapcraft() { echo 'test lol'; }"
59+ - sudo snap install docker
60+ - alias snapcraft="sudo ./snap.sh"
61+ - snapcraft --version
6162 # - if [ -n "$TRAVIS_TAG" ]; then ; fi
6263 # - sudo bash -c "snapcraft() { docker run -v $(pwd):/my-snap snapcore/snapcraft sh -c 'apt update && cd /my-snap && snapcraft $1'; } && yarn run publish"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo docker run -v $( pwd) :/my-snap snapcore/snapcraft sh -c " apt update && cd /my-snap && snapcraft $@ "
You can’t perform that action at this time.
0 commit comments