Update travis

This commit is contained in:
tobspr 2020-07-19 11:02:37 +02:00
parent 18c19b9e35
commit 6ff26cacad
1 changed files with 142 additions and 143 deletions

View File

@ -3,165 +3,164 @@ os: linux
dist: xenial dist: xenial
language: node_js language: node_js
node_js: node_js:
- "10" - "12"
cache: yarn cache: yarn
# platform specific configuration # platform specific configuration
jobs: jobs:
# jobs which have to succeed
include:
# OS: MAC
## -> build darwin
# - name: "Standalone MacOS on MacOS"
# os: osx
# osx_image: xcode11.3
# before_install:
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
# script:
# - cd gulp
# - yarn gulp build.standalone-prod || travis_terminate 1
# - yarn gulp standalone.prepare
# - yarn gulp standalone.package.prod.darwin64
# - cd ..
# jobs which have to succeed ## -> build win
include: # - name: "Standalone Windows on MacOS"
# OS: MAC # os: osx
## -> build darwin # osx_image: xcode11.3
- name: "Standalone MacOS on MacOS" # before_install:
os: osx # - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
osx_image: xcode11.3 # - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
before_install: # - HOMEBREW_NO_AUTO_UPDATE=1 brew cask install wine-stable
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs # # prevent Wine popup dialogs about installing additional packages
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg # - export WINEDLLOVERRIDES="mscoree,mshtml="
script: # - export WINEDEBUG="-all"
- cd gulp # script:
- yarn gulp build.standalone-prod || travis_terminate 1 # - cd gulp
- yarn gulp standalone.prepare # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.package.prod.darwin64 # - yarn gulp standalone.prepare
- cd .. # - yarn gulp standalone.package.prod.win64
# - yarn gulp standalone.package.prod.win32
# - cd ..
## -> build win ## -> build linux
- name: "Standalone Windows on MacOS" # - name: "Standalone Linux on MacOS"
os: osx # os: osx
osx_image: xcode11.3 # osx_image: xcode11.3
before_install: # before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs # - HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg # - HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
- HOMEBREW_NO_AUTO_UPDATE=1 brew cask install wine-stable # script:
# prevent Wine popup dialogs about installing additional packages # - cd gulp
- export WINEDLLOVERRIDES="mscoree,mshtml=" # - yarn gulp build.standalone-prod || travis_terminate 1
- export WINEDEBUG="-all" # - yarn gulp standalone.prepare
script: # - yarn gulp standalone.package.prod.linux64
- cd gulp # - yarn gulp standalone.package.prod.linux32
- yarn gulp build.standalone-prod || travis_terminate 1 # - cd ..
- yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.win64
- yarn gulp standalone.package.prod.win32
- cd ..
## -> build linux # OS: LINUX
- name: "Standalone Linux on MacOS" ## -> build darwin
os: osx ## not possible
osx_image: xcode11.3
before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
script:
- cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.linux64
- yarn gulp standalone.package.prod.linux32
- cd ..
# OS: LINUX ## -> build win
## -> build darwin # - name: "Standalone Windows on Linux"
## not possible # os: linux
# addons:
# apt:
# packages:
# - libavformat-dev
# - libavfilter-dev
# - libavdevice-dev
# - ffmpeg
# - wine
# script:
# - cd gulp
# - yarn gulp build.standalone-prod || travis_terminate 1
# - yarn gulp standalone.prepare
# - yarn gulp standalone.package.prod.win64
# - yarn gulp standalone.package.prod.win32
# - cd ..
## -> build win ## -> build linux
- name: "Standalone Windows on Linux" # - name: "Standalone Linux on Linux"
os: linux # os: linux
addons: # addons:
apt: # apt:
packages: # packages:
- libavformat-dev # - libavformat-dev
- libavfilter-dev # - libavfilter-dev
- libavdevice-dev # - libavdevice-dev
- ffmpeg # - ffmpeg
- wine # script:
script: # - cd gulp
- cd gulp # - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp build.standalone-prod || travis_terminate 1 # - yarn gulp standalone.prepare
- yarn gulp standalone.prepare # - yarn gulp standalone.package.prod.linux64
- yarn gulp standalone.package.prod.win64 # - yarn gulp standalone.package.prod.linux32
- yarn gulp standalone.package.prod.win32 # - cd ..
- cd ..
## -> build linux # OS: WINDOWS
- name: "Standalone Linux on Linux" ## -> build darwin
os: linux ## not possible
addons:
apt:
packages:
- libavformat-dev
- libavfilter-dev
- libavdevice-dev
- ffmpeg
script:
- cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.linux64
- yarn gulp standalone.package.prod.linux32
- cd ..
# OS: WINDOWS ## -> build linux
## -> build darwin # - name: "Standalone Linux on Windows"
## not possible # os: windows
# env: YARN_GPG=no
# before_install:
# - choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed
# - choco install ffmpeg --version=4.2.3
# - export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH
# - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/
# - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/
# script:
# - cd gulp
# - yarn gulp build.standalone-prod || travis_terminate 1
# - yarn gulp standalone.prepare
# - yarn gulp standalone.package.prod.linux64
# - yarn gulp standalone.package.prod.linux32
# - cd ..
## -> build linux ## -> build win
- name: "Standalone Linux on Windows" - name: "Standalone Windows on Windows"
os: windows os: windows
env: YARN_GPG=no env: YARN_GPG=no
before_install: before_install:
- choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed - choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed
- choco install ffmpeg --version=4.2.3 - choco install ffmpeg --version=4.2.3
- export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH - choco install wget
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/ - export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/ - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/
script: - wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/
- cd gulp script:
- yarn gulp build.standalone-prod || travis_terminate 1 - cd gulp
- yarn gulp standalone.prepare - yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.package.prod.linux64 - yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.linux32 - yarn gulp standalone.package.prod.win64
- cd .. - yarn gulp standalone.package.prod.win32
- cd ..
## -> build win # mark build as finished even if "allow_failures" are still running
- name: "Standalone Windows on Windows" fast_finish: true
os: windows
env: YARN_GPG=no
before_install:
- choco install git-lfs -y -f || echo "0" # choco fails but git-lfs is still installed
- choco install ffmpeg --version=4.2.3
- choco install wget
- export PATH=/C/ProgramData/chocolatey/lib/ffmpeg/tools/ffmpeg/bin:$PATH
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/avicap32.dll -P /C/Windows/System32/
- wget https://github.com/moiamond/docker-ffmpeg-base-windowsservercore/raw/master/System32/msvfw32.dll -P /C/Windows/System32/
script:
- cd gulp
- yarn gulp build.standalone-prod || travis_terminate 1
- yarn gulp standalone.prepare
- yarn gulp standalone.package.prod.win64
- yarn gulp standalone.package.prod.win32
- cd ..
# mark build as finished even if "allow_failures" are still running # optional jobs which may fail
fast_finish: true #allow_failures:
# - name: ""
# optional jobs which may fail
#allow_failures:
# - name: ""
# shared # shared
install: install:
- git lfs install - git lfs install
- git lfs pull - git lfs pull
- yarn - yarn
# electron dependencies
- cd electron
- yarn
- cd ..
# gulp dependendencies # electron dependencies
- cd gulp - cd electron
- yarn - yarn
- cd .. - cd ..
# gulp dependendencies
- cd gulp
- yarn
- cd ..