Skip to content

Commit f034a88

Browse files
committed
working on ci
1 parent 6858a16 commit f034a88

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sudo: required
22
dist: trusty
3-
if: tag IS present
3+
#if: tag IS present
44

55
language: c
66

@@ -41,6 +41,7 @@ addons:
4141
- rpm
4242
- zip
4343
- snapd
44+
- bash
4445

4546
install:
4647
- nvm install 8.4
@@ -53,8 +54,8 @@ install:
5354
before_script:
5455
- export DISPLAY=:99.0
5556
- 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" }
5757
- sleep 3
5858

5959
script:
60-
- yarn run publish
60+
#- if [ -n "$TRAVIS_TAG" ]; then ; fi
61+
- sudo bash -c "snapcraft() { docker run -v $(pwd):/my-snap snapcore/snapcraft sh -c 'apt update && cd /my-snap && snapcraft $1' } && yarn run publish"

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"github"
3030
],
3131
"linux": [
32-
"github"
32+
"github",
33+
"snapStore"
3334
]
3435
},
3536
"make_targets": {
@@ -82,6 +83,9 @@
8283
"Utility"
8384
]
8485
},
86+
"snapStore":{
87+
"release": "candidate,beta"
88+
},
8589
"github_repository": {
8690
"owner": "kriskbx",
8791
"name": "gitlab-time-tracker-taskbar"

0 commit comments

Comments
 (0)