Skip to content

Commit 61d7bb8

Browse files
committed
Set OS_NAME correctly
To set the upload path
1 parent cfba90a commit 61d7bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ install:
5151
before_script:
5252
- 'export INSTALL_DEST=${INSTALL_DEST:-/opt/python}'
5353
- export LSB_RELEASE=$(lsb_release -rs 2>/dev/null || sw_vers -productVersion | sed 's/^\([0-9][0-9]*.[0-9][0-9]*\).*/\1/')
54-
- 'export OS_NAME=${OS_NAME:-$(lsb_release -is | tr "A-Z" "a-z" || echo "osx")}'
54+
- 'export OS_NAME=${OS_NAME:-$(lsb_release -is 2>/dev/null || echo "osx" | tr "A-Z" "a-z")}'
5555
- 'export ARCH=${ARCH:-$(uname -m)}'
5656
- 'export PACKAGES=${PACKAGES:-pip nose pytest mock wheel}'
5757
- 'export CPYTHON_ONLY_PKGS="numpy"'

0 commit comments

Comments
 (0)