Skip to content

Commit 3c67ea1

Browse files
committed
working on ci
1 parent f88461b commit 3c67ea1

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@ install:
4646
- nvm install 8.4
4747
- npm install -g yarn
4848
- yarn install
49+
- snap install docker
4950
- export DISPLAY=':99.0'
5051
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
5152

5253
before_script:
5354
- export DISPLAY=:99.0
5455
- sh -e /etc/init.d/xvfb start &
56+
- snapcraft() { docker run -v $(pwd):/my-snap snapcore/snapcraft sh -c "apt update && cd /my-snap && snapcraft $1" }
5557
- sleep 3
5658

5759
script:

appveyor.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@ build: off
1919
version: '{build}'
2020
shallow_clone: true
2121
clone_depth: 1
22-
deploy:
23-
- provider: Environment
24-
name: production
25-
on:
26-
APPVEYOR_REPO_TAG: true
22+
test_script:
23+
- ps: if($env:appveyor_repo_tag -eq 'True') { yarn run publish } else { echo "Not a tag build" }

0 commit comments

Comments
 (0)