Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 3e21d0f

Browse files
committed
hotfix: fix macOS release by reverting lost env vars
OSXCROSS_PATH is defined only for release stage, as that way regular UnitTest job does not try to cross-compile. Signed-off-by: Alexander Bezzubov <[email protected]>
1 parent d5b20f0 commit 3e21d0f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ stages:
1818
- name: release
1919
if: tag IS present
2020

21+
env:
22+
global:
23+
- OSXCROSS_REV=3034f7149716d815bc473d0a7b35d17e4cf175aa
24+
- SDK_VERSION=10.11
25+
- DARWIN_VERSION=15
26+
- OSX_VERSION_MIN=10.6
27+
- OSXCROSS_SDK_URL="https://s3.dockerproject.org/darwin/v2/MacOSX10.11.sdk.tar.xz"
28+
2129
jobs:
2230
include:
2331
- name: 'All tests'
@@ -34,6 +42,8 @@ jobs:
3442

3543
- name: 'Cross-compile, release & publish to Sonatype'
3644
stage: release
45+
env:
46+
- OSXCROSS_PATH="$HOME/osxcross"
3747
before_install:
3848
- mkdir -p /tmp/osxcross
3949
- cd /tmp/osxcross

0 commit comments

Comments
 (0)