travis: fix matrices

This commit is contained in:
Alibek Omarov 2019-03-29 23:11:20 +03:00
parent 880a9651d8
commit 45fdd74dd2

View File

@ -37,20 +37,6 @@ matrix:
- os: windows - os: windows
env: PYTHONENCODING=UTF-8 env: PYTHONENCODING=UTF-8
jobs:
allow_failures:
- os: osx
- os: windows
- os: linux
include:
- stage: init
name: "Initialize webdav cache"
os: linux
cache: false
script:
- scripts/yadisk_clear.sh
- stage: build
name: "Build engine and upload to webdav cache"
before_script: before_script:
- sh scripts/travis_common_deps.sh - sh scripts/travis_common_deps.sh
- sh scripts/travis_${TRAVIS_OS_NAME}_deps.sh - sh scripts/travis_${TRAVIS_OS_NAME}_deps.sh
@ -66,6 +52,24 @@ jobs:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/yadisk_upload.sh Xash3DFWGS-i386.AppImage xash3d-mingw.7z; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh scripts/yadisk_upload.sh Xash3DFWGS-i386.AppImage xash3d-mingw.7z; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh scripts/yadisk_upload.sh xash3d-osx.tar.bz2; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh scripts/yadisk_upload.sh xash3d-osx.tar.bz2; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then sh scripts/yadisk_upload.sh xash3d-vc.7z; fi - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then sh scripts/yadisk_upload.sh xash3d-vc.7z; fi
stages:
- init
- test # default name
- deploy
jobs:
allow_failures:
- os: osx
- os: windows
- os: linux
include:
- stage: init
name: "Initialize webdav cache"
os: linux
cache: false
script:
- sh scripts/yadisk_clear.sh
- stage: deploy - stage: deploy
name: "Deploy to github" name: "Deploy to github"
os: linux os: linux