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 76eb3bf commit b06cd67Copy full SHA for b06cd67
.travis.yml
@@ -24,8 +24,8 @@ install:
24
25
before_script:
26
- 'export INSTALL_DEST=${INSTALL_DEST:-/opt/python}'
27
- - '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")}'
+ - export LSB_RELEASE=$(lsb_release -rs 2>/dev/null || sw_vers -productVersion | sed 's/^\([0-9][0-9]*.[0-9][0-9]*\).*/\1/')'
+ - 'export OS_NAME=${OS_NAME:-$((lsb_release -is || echo "osx") | tr "A-Z" "a-z")}'
29
- 'export ARCH=${ARCH:-$(uname -m)}'
30
- 'export PACKAGES=${PACKAGES:-pip numpy nose pytest mock wheel}'
31
0 commit comments