WIP: Travis WIndows 1
This commit is contained in:
parent
2c3dbba052
commit
3d9b97ccb5
15
.travis.yml
15
.travis.yml
|
@ -16,12 +16,13 @@ before_deploy:
|
||||||
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
||||||
- yarn install --no-lockfile --prod
|
- yarn install --no-lockfile --prod
|
||||||
- yarn construct
|
- yarn construct
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
#- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
#- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi
|
#- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then ls;else :;fi
|
#- if [ "$TRAVIS_OS_NAME" = "linux" ];then ls;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then mv thedesk-*.zip thedesk.zip;else :;fi
|
#- if [ "$TRAVIS_OS_NAME" = "linux" ];then mv thedesk-*.zip thedesk.zip;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi
|
#- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi
|
||||||
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then yarn add electron-builder;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --ia32 -p never;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --ia32 -p never;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi
|
- if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi
|
||||||
|
@ -48,5 +49,5 @@ deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: cutls/TheDesk
|
repo: cutls/TheDesk
|
||||||
tags: true
|
tags: false
|
||||||
all_branches: true
|
all_branches: true
|
Loading…
Reference in New Issue
Block a user