File tree Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Expand file tree Collapse file tree 1 file changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,23 @@ install:
22
22
- sudo git pull
23
23
- popd
24
24
25
- before_script :
26
- - ' export INSTALL_DEST=${INSTALL_DEST:-/opt/python}'
27
- - ' export LSB_RELEASE=${LSB_RELEASE:-$(lsb_release -rs)}'
28
- - ' export PACKAGES=${PACKAGES:-pip numpy nose pytest mock wheel}'
29
-
30
- script : ./build-python
31
-
32
- after_success : ./create-archive
33
-
34
- after_failure :
35
- - cat /tmp/python-build.*.log
36
-
37
- addons :
38
- artifacts :
39
- paths :
40
- - $LSB_RELEASE/
41
- target_paths :
42
- - /$LSB_RELEASE
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")}'
29
+ - ' export ARCH=${ARCH:-$(uname -m)}'
30
+ - ' export PACKAGES=${PACKAGES:-pip numpy nose pytest mock wheel}'
31
+
32
+ script : ./build-python
33
+
34
+ after_success : ./create-archive
35
+
36
+ after_failure :
37
+ - cat /tmp/python-build.*.log
38
+
39
+ addons :
40
+ artifacts :
41
+ paths :
42
+ - $LSB_RELEASE/
43
+ target_paths :
44
+ - /binaries/$OS_NAME/$LSB_RELEASE/$ARCH
You can’t perform that action at this time.
0 commit comments