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,125 +3,124 @@ 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 # jobs which have to succeed
include: include:
# OS: MAC # OS: MAC
## -> build darwin ## -> build darwin
- name: "Standalone MacOS on MacOS" # - name: "Standalone MacOS 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
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.darwin64 # - yarn gulp standalone.package.prod.darwin64
- cd .. # - cd ..
## -> build win ## -> build win
- name: "Standalone Windows on MacOS" # - name: "Standalone Windows 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 # - HOMEBREW_NO_AUTO_UPDATE=1 brew cask install wine-stable
# prevent Wine popup dialogs about installing additional packages # # prevent Wine popup dialogs about installing additional packages
- export WINEDLLOVERRIDES="mscoree,mshtml=" # - export WINEDLLOVERRIDES="mscoree,mshtml="
- export WINEDEBUG="-all" # - export WINEDEBUG="-all"
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.win64 # - yarn gulp standalone.package.prod.win64
- yarn gulp standalone.package.prod.win32 # - yarn gulp standalone.package.prod.win32
- cd .. # - cd ..
## -> build linux ## -> build linux
- name: "Standalone Linux 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
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.linux64
- yarn gulp standalone.package.prod.linux32 # - yarn gulp standalone.package.prod.linux32
- cd .. # - cd ..
# OS: LINUX # OS: LINUX
## -> build darwin ## -> build darwin
## not possible ## not possible
## -> build win ## -> build win
- name: "Standalone Windows on Linux" # - name: "Standalone Windows 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 # - 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.win64 # - yarn gulp standalone.package.prod.win64
- yarn gulp standalone.package.prod.win32 # - yarn gulp standalone.package.prod.win32
- cd .. # - cd ..
## -> build linux ## -> build linux
- name: "Standalone Linux 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
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.linux64
- yarn gulp standalone.package.prod.linux32 # - yarn gulp standalone.package.prod.linux32
- cd .. # - cd ..
# OS: WINDOWS # OS: WINDOWS
## -> build darwin ## -> build darwin
## not possible ## not possible
## -> build linux ## -> build linux
- name: "Standalone Linux on Windows" # - name: "Standalone Linux 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 # - 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/avicap32.dll -P /C/Windows/System32/
- 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/msvfw32.dll -P /C/Windows/System32/
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.linux64
- yarn gulp standalone.package.prod.linux32 # - yarn gulp standalone.package.prod.linux32
- cd .. # - cd ..
## -> build win ## -> build win
- name: "Standalone Windows on Windows" - name: "Standalone Windows on Windows"