Skip to content
Snippets Groups Projects
Unverified Commit 2803ed93 authored by Aaron Ogle's avatar Aaron Ogle
Browse files

Set pwd for travis instead of .

parent 30572a32
No related branches found
No related tags found
No related merge requests found
sudo: required
language: node_js
services:
- docker
......
......@@ -8,10 +8,10 @@ echo "$SNAPCRAFT_CONFIG" > "$HOME/.config/snapcraft/snapcraft.cfg"
if [[ $TRAVIS_TAG ]]
then
CHANNEL=stable
SNAP_FOLDER=./snapcraft/stable
SNAP_FOLDER=$PWD/snapcraft/stable
else
CHANNEL=edge
SNAP_FOLDER=./snapcraft/edge
SNAP_FOLDER=$PWD/snapcraft/edge
fi
docker run -v $HOME:/root -v $SNAP_FOLDER:/cwd snapcore/snapcraft sh -c 'cd /cwd; snapcraft'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment