From 5ef8e8361b9c19c22b8f2999d62a4c3fc9fca81f Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Thu, 15 Nov 2018 13:15:50 -0700 Subject: [PATCH] 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. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d526245..18c5c68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: