Prevent build and deploy steps for linux on Travis CI

It appears that specifing an "os:" condition is invalid for the
.travis.yml syntax.  Use a custom "condition:" statement instead.
This commit is contained in:
Curtis Gedak 2018-11-15 13:15:50 -07:00
parent 200f3544a9
commit 5ef8e8361b

View file

@ -21,13 +21,13 @@ deploy:
overwrite: true
skip_cleanup: true
on:
os: osx
condition: $TRAVIS_OS_NAME = osx
tags: true
- provider: script
script: "curl -T dist/manuskript-osx-develop.zip -u hfpn_semaphoreci:$FTP_PASSWORD ftp://www.theologeek.ch/web/manuskript/releases/ -v"
skip_cleanup: true
on:
os: osx
condition: $TRAVIS_OS_NAME = osx
branch: develop
env:
global: