From 195c765a09577b573d1b866caa3d8267a1848739 Mon Sep 17 00:00:00 2001 From: pattonw Date: Wed, 13 Mar 2019 13:40:46 -0400 Subject: [PATCH] Add a job for deploying source distribution. Include rust code in the MANIFEST.in file, and add a deploy job in the deploy stage of travis.yml --- .travis.yml | 19 +++++++++++++++---- MANIFEST.in | 3 +++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 792dcea..6c67e0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +language: python +python: + - 3.5 + stages: - test - deploy @@ -9,8 +13,6 @@ env: test_template: &test_template stage: test - language: python - python: 3.6 before_install: source ./ci/travis/setup_rust.sh install: @@ -20,13 +22,11 @@ test_template: &test_template deploy_template: &deploy_template stage: deploy - language: python sudo: required services: docker env: - CIBW_BUILD=cp35-* - python: 3.6 install: pip install -U cibuildwheel script: @@ -52,4 +52,15 @@ jobs: - <<: *deploy_template env: - CIBW_BUILD=cp37-* + - stage: deploy + script: + echo "skip" + deploy: + on: + tags: true + distributions: sdist + password: + secure: VeZNGpUs5ne3ZlCeZLPbT+3O6yRDM9sv8emg6m90ZwLuZAlXV0t2dGHKccMTBMbS2jWSy2q4TY2IkN0SOWrOmi53Klt3K5Y461Ra8dT+XdmXK8g+36HJEJKWfFvVpYVuIw72yoUWHZsr2iNxi7tiAc/AjBvbnbgSXuAayuVm+8K7tQ85kkfbdBErDQnhziEiqtIrjak3hwBgjWpm0UEuAKG/eTBFk0BAN9wqRajCS58WLaLVnF4FtAHT4QAxo33j99njB7cz8PLjXNd3BxT2BpMbjqmg8krVW7ayMJKdLvWdICezPB4nlsnL9jBlXMaRvI0ijSl59QkVCDbkrERUCR7IdJZqAX3IFSe+9X1cwzJsJeXYOfQjYMX+ZyqR8qcmQKS6M1u3uYMXhoj+TU9uO0sK4dNxrS0DRhg22TdjAcpqnz0UDVVWfFapltroE0ePVPs8aOOqdpJewRDPDI0ghRg/nzrSIhEI+85XnSTcjm4if5hwiEFchIFlV5d/ZIHtPn+b0fCRTDMq4kjObxD9uBbVvda1+CESCNrE91oB1erlrjygsDnpdRWi5dzaOVe5DJmAxT/V5mPFlskOPJLZr3lzZOQm1FGVJbvTN766plDCWozTAG8wT58hq/nJTBIiRjHlQnhFjlHLkaWTEq/jJ8mA++KXvbofCy833V0OMrw= + provider: pypi + user: pattonw diff --git a/MANIFEST.in b/MANIFEST.in index 965b2dd..52d2618 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,3 +9,6 @@ recursive-exclude * __pycache__ recursive-exclude * *.py[co] recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif + +include Cargo.toml +recursive-include src *