travis: fix matrices
This commit is contained in:
parent
880a9651d8
commit
45fdd74dd2
1 changed files with 22 additions and 18 deletions
32
.travis.yml
32
.travis.yml
|
@ -37,20 +37,6 @@ matrix:
|
|||
- os: windows
|
||||
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:
|
||||
- sh scripts/travis_common_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" == "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
|
||||
|
||||
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
|
||||
name: "Deploy to github"
|
||||
os: linux
|
||||
|
|
Loading…
Add table
Reference in a new issue