Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 1b41a77

Browse files
committed
working on ci
1 parent a597132 commit 1b41a77

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,20 @@ addons:
2626
- docker
2727

2828
install:
29+
- nvm install 8.4
30+
- npm install -g yarn
31+
- yarn install
2932
- docker pull kriskbx/gtt-taskbar-builder
3033

34+
before_script:
35+
- export DISPLAY=:99.0
36+
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
37+
- sleep 5
38+
3139
script:
3240
- #if [ -n "$TRAVIS_TAG" ]; then ; fi
41+
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
42+
- yarn run publish
43+
- else
3344
- docker run --rm -it -e "GITHUB_TOKEN=$GITHUB_TOKEN" -v $(pwd):/code kriskbx/gtt-taskbar-builder ./build.sh
45+
- fi

0 commit comments

Comments
 (0)