We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc06ce commit 2c97466Copy full SHA for 2c97466
.travis.yml
@@ -24,7 +24,9 @@ install:
24
25
before_script:
26
- 'export INSTALL_DEST=${INSTALL_DEST:-/opt/python}'
27
- - 'export LSB_RELEASE=${LSB_RELEASE:-$(lsb_release -rs)}'
+ - 'export LSB_RELEASE=${LSB_RELEASE:-$(lsb_release -rs || echo ${$(sw_vers -productVersion)%*.*})}'
28
+ - 'export OS_NAME=${OS_NAME:-$(lsb_release -is | tr "A-Z" "a-z" || "osx")}'
29
+ - 'export ARCH=${ARCH:-$(uname -m)}'
30
- 'export PACKAGES=${PACKAGES:-pip numpy nose pytest mock wheel}'
31
32
script: ./build-python
@@ -39,4 +41,4 @@ addons:
39
41
paths:
40
42
- $LSB_RELEASE/
43
target_paths:
- - /$LSB_RELEASE
44
+ - /binaries/$OS_NAME/$LSB_RELEASE/$ARCH
0 commit comments