Skip to content

Commit 2a0d886

Browse files
committed
ci: fix travis deploy file names
1 parent 6c61de2 commit 2a0d886

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ rust:
33
- nightly
44
os: osx
55
env:
6-
- PYTHON_VERSION=3.5.6
7-
- PYTHON_VERSION=3.6.6
8-
- PYTHON_VERSION=3.7.0
6+
- PYTHON_VERSION=3.5.6 PYTHON_NATIVE_ABI=35
7+
- PYTHON_VERSION=3.6.6 PYTHON_NATIVE_ABI=36
8+
- PYTHON_VERSION=3.7.0 PYTHON_NATIVE_ABI=37
99

1010
cache: cargo
1111
before_install:
@@ -23,13 +23,16 @@ install:
2323
script: |
2424
python compile.py build && \
2525
cp build/lib/py_sourcemap/*.so py_sourcemap/py_sourcemap.so && \
26+
mkdir -p natives && \
27+
cp py_sourcemap/py_sourcemap.so "natives/py_sourcemap.cpython-m${PYTHON_NATIVE_ABI}-x86_64-apple-darwin.so" && \
2628
$HOME/.local/bin/nosetests
2729
2830
deploy:
2931
provider: releases
3032
api_key:
3133
secure: $GITHUB_TOKEN
32-
file: py_sourcemap/py_sourcemap.so
34+
file_glob: true
35+
file: natives/*.so
3336
skip_cleanup: true
3437
on:
3538
tags: true

0 commit comments

Comments
 (0)