From 205a3bea448ccca6ed00aa1573565cd610d10b35 Mon Sep 17 00:00:00 2001 From: Cutls Date: Sun, 26 May 2019 23:55:16 +0900 Subject: [PATCH] travis 7 --- .travis.yml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf76202a..a9f53460 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,20 +10,24 @@ before_deploy: - npm install electron-builder -g - cd app - npm install - - if [ "$TRAVIS_OS_NAME" = "osx" ]; npm run build ; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; electron-builder --linux --x64 --ia32 ; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*-ia32.zip ../build/thedesk-ia32.zip ; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*.zip ../build/thedesk.zip ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../TheDesk-ia32.exe ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup-ia32.exe ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk-ia32.exe ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --x64 ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup.exe ; fi - - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk.exe ; fi + -if [ true ] ; then + echo "true" +else + :fi + - if [ "$TRAVIS_OS_NAME" = "osx" ]; npm run build ; then : fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; electron-builder --linux --x64 --ia32 ; then : fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*-ia32.zip ../build/thedesk-ia32.zip ; then : fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; mv ../build/thedesk-*.zip ../build/thedesk.zip ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../TheDesk-setup-ia32.exe ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../TheDesk-ia32.exe ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --ia32 ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup-ia32.exe ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk-ia32.exe ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; electron-builder --win --x64 ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk-setup.exe ../build/TheDesk-setup.exe ; then : fi + - if [ "$TRAVIS_OS_NAME" = "windows" ]; mv ../build/TheDesk*.exe ../build/TheDesk.exe ; then : fi - cd ../ - ls build deploy: